Dirk,

>       Hi Toni,
> 
> On Thu, 2005-08-25 at 15:14 +0200, Antonio Bleile wrote:
> > Hi,
> >
> > just two generic questions:
> >
> > 1. Is it possibile to load 3ds files in OpenSG? I
> > know 3ds is a proprietary format and might not be
> > supported, but I saw somewhere in the code tree a
> > filename containing 3ds-something. Maybe it's a
> > plugin. How do I activate this plugin (compile flags?).
> > I tried loading a simple 3ds file with the standard
> > loader osg::SceneFileHandler::the().read("model.3ds")
> > (using a very recent dailybuid).
> 
> No, it should be working fine out of the box. A quick test with my CVS
> works fine. Anybody else have different experience?
> 

I just tried a 3ds file, and it works out
of the box just as you said! BUT: I know 
why it didn't work previously. I am mean,
I know, but I copied a 3ds file to 
"test.wrl" (at the time the model filename was
hardcoded for quick prototyping...). That
lead to a read error (syntax error in line 1)...
So I guess the file extension is taken as a hint.
You could improve intelligence here if you would 
like to, but rarely somebody renames a 3ds file
to a wrl (except me). This looks like windows
intelligence level to me :-)


> > 2. What about shadows? Is there some shadow volume
> > implemented in OpenSG? Soft shadows? Anything?
> > Some foo->enableShadow(true) method anywhere? :-)
> 
> Not quite as simple, but not much harder either. :) Take a look at
> tutorial 21: Shadows.
> 

I'll check!


Thank you,

        Toni




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to