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 Professional Discussion / DBpro model compatibility and transparency questions

Author
Message
Go Devils
13
Years of Service
User Offline
Joined: 13th Aug 2012
Location:
Posted: 8th Nov 2012 18:09
I'm somewhat of a newbee but have background in basic programming and 3D. I've been working with DBpro for a few months and have progressed to the point where I have a stable terrain platform (T.ed), navigation, and have begun to populate the terrain with models.

I do not want to become a "from scratch modeler", However, not all models will load into DBpro (even with the correct formats 3ds, .x), and I'm concerned about spending money on models only to find that they will not work. Sites like rederosity and Turbo-squid) say little if anything about DBpro, and offer very few low polly .x files?

I've even had some issues with models from the game creator store. I'm willing spend the money if I know they work, the question is how to find this out beforehand?

Also, I brought in a tree from the Game Creators Store and cannot seem to figure out how to get the transparency around the leaves to work? Suggestions would be appreciated.

Thanks
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 8th Nov 2012 20:24
For the leaves use the set object transparency command, try it with different mode flags until you find which you need, I forget at the moment but I think it might be 2?

Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 8th Nov 2012 21:31
TGC have created products for producing trees specially made for DBPRO. It might save you the hassle; but in many cases, as Ortu advised; you'd need to use Set Object Transparency, and my prefered setting is 4.

Go Devils
13
Years of Service
User Offline
Joined: 13th Aug 2012
Location:
Posted: 8th Nov 2012 23:01
Ortu and Chris, thank you

I had seen references to a transparency command in other postings, but could not find it until you spelled it out.

Set Object Trans worked perfectly.

Ortu... I see that you have noted the Blender logo. I have worked with blender al little, but have yet to succeed in getting a model out of blender and into DPpro. Any tips?

Thanks again
Ortu
DBPro Master
18
Years of Service
User Offline
Joined: 21st Nov 2007
Location: Austin, TX
Posted: 9th Nov 2012 20:48
In blender 2.6 you need to enable the .x exporter under user preferences. It is pretty straight forward from there, though does get fussier if you add bones/animation. I've posted a few tutorials on doing it over on the 3d chat board as the topic seems to come up every couple of months. I'll see if I can dig up a link when I get home.

Main things to note are, you'll need to set uv and texture images. If you have bones, make sure every vertex is assigned to a bone and every bone has at least one vertex. It helps to 'apply' scale and rotation Ctrl a to the objects base data. The .x format doesn't play well with ik animation modifiers and the like.

Chris Tate
DBPro Master
17
Years of Service
User Offline
Joined: 29th Aug 2008
Location: London, England
Posted: 9th Nov 2012 23:42
Like Ortu says. Furthermore, I have an article about this here: Exporting to DBPRO from Blender

Go Devils
13
Years of Service
User Offline
Joined: 13th Aug 2012
Location:
Posted: 10th Nov 2012 01:10
Thank you both very much.

This a step by step learning process and you have helped me move a step further.

Login to post a reply

Server time is: 2026-07-09 01:51:15
Your offset time is: 2026-07-09 01:51:15