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.

Dark GDK / questions for a level editor

Author
Message
How is it going
17
Years of Service
User Offline
Joined: 18th Sep 2007
Location: California
Posted: 28th Jul 2009 05:42
okay I'm making a level editor in my spare time while taking a brake from my main game.
I have a question.
I plan on using a vector to keep track of segment so I can easily add and remove elements.
So my question is, "is there a better way I should do this?"
How is it going
17
Years of Service
User Offline
Joined: 18th Sep 2007
Location: California
Posted: 28th Jul 2009 06:48
Thought of another question.
would it be possible to move verticies in GDK?
Mista Wilson
16
Years of Service
User Offline
Joined: 27th Aug 2008
Location: Brisbane, Australia
Posted: 28th Jul 2009 08:11
Yes, GDK has a set of commands that are related to manipulating vertex data...

They are called things like :

dbLockVertexDataForMesh()
dbSetVertexDataPosition()
dbSetVertexDataUV()
dbSetVertexDataNormals()
dbUnlockVertexData()

and so on.... you can find reference to them in the "Basic 3D" section of the GDK docs... and there are a bunch of tutorials and examples in using them here in the forums if you do a few searches

If it ain't broke.... DONT FIX IT !!!
How is it going
17
Years of Service
User Offline
Joined: 18th Sep 2007
Location: California
Posted: 28th Jul 2009 08:18
all right cool, thanks for your post

Login to post a reply

Server time is: 2024-10-01 08:48:29
Your offset time is: 2024-10-01 08:48:29