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 / Vertexs (Multiple Problems)

Author
Message
Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 24th Dec 2009 05:13 Edited at: 24th Dec 2009 05:15
Ok, well from the tital you can pick out that this has to do with vertexs.
i've done some searching in the forum about it but that infomation isnt very helpfull.
i got a list of problems in trying to sort out.
### Problem List ###
1 -> Making To Vertex Points As One
im trying to work out how i can make to points the same. see i've got a grid which has multiple points at the same spot and im try to join them all together
2 -> Finding Vertex Points
ok, i've made progress on this one. i made a grid of say 5x5 (128sqr) tiles. problem is that i get the vertex points of the first tile but thats it and i think i've made it right but its not working. the next code box has the code.


so far these are the problems. it might be hard to understand but i really need help with and would be a big help if solved.

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 24th Dec 2009 19:13
#1 - I found vertex manipulation got hosed with Nov2008 GDK Beta

#2 - I have a bunch of open source code (Jegas Game Classes prior to version 3 are open source) that has some vertex manipulation in DarkGDK that might help.

I ended up writing routines to "prepare" for vert changes - either read or write.. to make working with them a bit faster.

--Jason

Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 25th Dec 2009 07:25
ok. ill have a look at those.

the jagas game class look real promising.
can you point me to a open source or send me it.
im need something at a blue prints for vertex manipulation etc.

by the way it looks real good. nice job

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 25th Dec 2009 14:19
Sure - just remember I was new to C++ when I started this - version 3 is much nicer but let's go with the open source and have fun with it!

If you click on my banner it will bring you to my web site and it should bring you directly to the Jegas Game Classes article (I assume this is what you were looking at and complimented - thank you!) Scrool to the very very bottom of the article... and there is a link right there to the open source project(s) and even the Iron Infantry DarkBasic "Abandonware" code I made open source when I switched from DarkBasic to DarkGDK.

Happy Holidays!
--Jason

Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 26th Dec 2009 02:18
thanks. yer i went to the website and found the page. thanks for the help.
this should be a big help to me. you are awesome.
thanks for the help.

Problem Solution That Never Fails: "Build A Bridge And Get Over It"
jason p sage
17
Years of Service
User Offline
Joined: 10th Jun 2007
Location: Ellington, CT USA
Posted: 26th Dec 2009 03:03
You're welcome - remember that my code works with DarkGDK but with the Nov2008 "Beta" version of DarkGDK - certain things (particularly vertex stuff) gets hosed.

Freedom Fighters
14
Years of Service
User Offline
Joined: 2nd Nov 2009
Location:
Posted: 26th Dec 2009 04:33 Edited at: 26th Dec 2009 05:51
ok. i've got it to work but now i've come accross a problem.

it stats then closes. its makes no sense

Problem Solution That Never Fails: "Build A Bridge And Get Over It"

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-10-01 20:33:40
Your offset time is: 2024-10-01 20:33:40