View previous topic :: View next topic |
Author |
Message |
nextdoorscat DeleD PRO user
Joined: 15 Jun 2005 Posts: 187
|
Posted: Thu Jun 16, 2005 9:34 pm Post subject: Opacity in LITE version? |
|
|
Have tried importing models in obj and 3DS format, with different opacity levels, (for example, stained glass) but are showing up as solid in DeleD. Does DeleD support opacity?
Thanks... |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Fri Jun 17, 2005 5:29 am Post subject: |
|
|
The short answer: no, DeleD doesn't support opacity.
It is kinda coincidental you ask for this functionality, because at this moment we are working hard to get DeleD 1.3 done, and from that version onward DeleD will have full alpha-texturing-support. The only problem is DeleD Lite doesn't (currently) support any 32bit fileformats, so that only allows for transparent "color" (as opposed to textured) materials. |
|
Back to top |
|
|
nextdoorscat DeleD PRO user
Joined: 15 Jun 2005 Posts: 187
|
Posted: Fri Jun 17, 2005 12:49 pm Post subject: |
|
|
Thanks for your reply... Just wanted to make sure I understand though, when you say LITE only allows for transparent "color", do you mean transparent materials?
This was the problem I was encountering - on importing an object where materials were semi-transparent, they were appearing in the texture and lightmap mode as solid. I am not worried at this stage about textures, just whether I can get materials to show as semi transparent.
Thanks! |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Fri Jun 17, 2005 7:24 pm Post subject: |
|
|
Quote: |
do you mean transparent materials... |
Not exactly. What we are working on is alpha support in texture and color layers. Materials are simple collections of these layers, and don't have transparency (/opacity) properties of their own (or at least, not yet).
So what this will enable you to do is
a) load a 32-bit texture with alpha-information and display it correctly (transparency based on the alpha layer within the texture). Good examples are tree-leafs, fences, textured windows, etc. <- only PRO benefits will benefit from this at first, since DeleD Lite doesn't support any texture file formats capable of storing alpha information.
b) set a material layer to a color with an alpha-component, for example to quickly create a 50% transparent gray windshield, a 20% opaque blue fluid surface, whatever.<- this is what Lite users will be able to do as well.
What this will not enable you to do is
c) load a solid texture and mark the whole material as transparent.
Eventually, we will get to that too, but there simply was a lot more demand for the functionality mentioned at (a). Our development cycle is very much community-driven
I think the model you are trying to import falls into category (c), but I'm not sure. To be honest, I don't know how opacity information is stored in obj or 3DS, if not in the textures. Do you have an example file I can take a look at?
Also, may I ask what final renderer (graphics engine) you are planning to use? |
|
Back to top |
|
|
nextdoorscat DeleD PRO user
Joined: 15 Jun 2005 Posts: 187
|
Posted: Fri Jun 17, 2005 10:52 pm Post subject: |
|
|
Thanks, I'll arrange one for you to look at... As far as graphics engine is concerned, I am currently looking at Irrlicht or Blink as possibilities.
Yes, what I've been trying to import does fall into category (c)!
Thanks again! |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Sat Jun 18, 2005 6:39 am Post subject: |
|
|
Ah, thanks!
Both rendering engines are pretty good, and support your desired type of transparency (although Ogre/Blink supports it directly, I think with Irrlicht you'll need to us alpha-values in the vertex colors). |
|
Back to top |
|
|
Paul-Jan Site Admin
Joined: 08 Aug 2004 Posts: 3066 Location: Lage Zwaluwe
|
Posted: Sun Jun 19, 2005 11:31 am Post subject: |
|
|
I recieved the files, and I've got good news. The scene contains a single glass material, that consists of a single color with a transparency (alpha) component. This is exactly what will be supported in DeleD 1.3 Lite!
The 3DS importer and Ogre exporter will get an update, too, and then you are ready to go. |
|
Back to top |
|
|
|