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.

DarkBASIC Discussion / Memblock problem

Author
Message
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 25th Jan 2004 12:21
Hey guys!

I'm trying to fake a matrix like kevin did in dbpro (codebase). I tried to modify vertices, but if i change a coordinate, it changes without control. How do i modify vertice points easily?

Juzt a dude who likez progging - Me loves RTS games
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th Jan 2004 09:39
You want to do vertex manipulation?

Good luck, lol.

You can't do it in DBC, it's not possible, but you can do it in DBPro if you know where to look for the appropriate hidden commands.

Hope I Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 26th Jan 2004 17:11
Ow sure it can!

Dark Basic Enhanced has memblock mesh commands

Juzt a dude who likez progging - Me loves RTS games
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 26th Jan 2004 18:01
Yeah, you can do it in DBC, but you asked for an "easy way" to do it, which is Vertex Maipulation. Which, isn't possible in DBC, but is in DBPro if you know where to find the hidden commands.

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 27th Jan 2004 20:52
Well, if theres no easy way (and no DBPro) then give me the hard one

Juzt a dude who likez progging - Me loves RTS games
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 28th Jan 2004 08:05
Make a .x object that has as many verticies as you want in it, load it into DB, make a mesh from that, make a memblock from that, change the values of the vertex positions, then recreate the mesh, and the object.

Jess.


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Sjakie
21
Years of Service
User Offline
Joined: 17th Dec 2003
Location: Netherlands - Delft
Posted: 28th Jan 2004 18:54
thats actually what i tried but i didnt worked

Juzt a dude who likez progging - Me loves RTS games

Login to post a reply

Server time is: 2025-05-22 12:02:53
Your offset time is: 2025-05-22 12:02:53