Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

3 Dimensional Chat / Is Animating a Texture possible?

Author
Message
king koder
16
Years of Service
User Offline
Joined: 31st Dec 2007
Location:
Posted: 2nd Jan 2008 08:41
Currently using Dark GDK with Visual C++ Express, I have currently no prior knowledge of this language (C++, however, I have been a GML coder for 4 years) and have little understanding of the functions.

When I want to animate a sprite, all I have to do is:



This allows me to place my 2D image onscreen at (0x,0y) and animate properly through each frame. I wanted to know if this could also work on a 3D model off of a 2D sprite. I read a topic that you can place a sprite into a 3D object by creating a new plain object.

Here is my code, in addition to the code above.



What I get is a square (0 depth) with the original PNG of the unanimated edition, meaning the image is 10 subimages long in a short space of 32x,32y square. I was hoping that I could animate the texture like I did with the sprite version.

Is this possible? If so, please teach me.
Insanity Complex
19
Years of Service
User Offline
Joined: 16th Sep 2005
Location: Home
Posted: 2nd Jan 2008 20:51
This sounds more like it would be done through the programming aspect than the 3d aspect, so perhaps you could try the Programming Talk forum?


king koder
16
Years of Service
User Offline
Joined: 31st Dec 2007
Location:
Posted: 2nd Jan 2008 22:04
Thanks Insanity, I will try there.

Login to post a reply

Server time is: 2024-11-26 00:33:11
Your offset time is: 2024-11-26 00:33:11