CS should be able to read 3ds files but I don't think 3ds files are
the same as .max files are they?

Anyway, reading 3ds files by CS is not really the best way to do it.
It is better to use the
3dsmax->CS exporter that comes with CS (see CS/scripts/max directory).

Greetings,



On Mon, Dec 15, 2008 at 1:18 PM, Carlos Diógenes <cerdioge...@gmail.com> wrote:
> Hi,
>
> I modify simpmap to see if I was able to load a .max (3ds) file.
>
> I copy my max file to data/partsys, the directory where simpmap look for
> files.
>
> I changed the simpmap LoadMap file to this:
>
> bool Simple::LoadMap ()
> {
>   // Set VFS current directory to the level we want to load.
>   csRef<iVFS> VFS (csQueryRegistry<iVFS> (GetObjectRegistry ()));
>   VFS->ChDir ("/lev/partsys");
>   // Load the level file which is called 'world'.
>   if (!(loader->Load ("race_track_fin.max")).success)
>     ReportError("Error couldn't load level!");
>
>   return true;
> }
>
> When I run the program now, I get the following error:
>
> crystalspace.maploader.parse:  Model file not recognized
> (race_track_fin.max)!
>
> How can I know if the .max file that I'm using is compatible with CS?
>
> PS.: I try to follow what is described in
> http://www.crystalspace3d.org/docs/online/manual/Model-Loading.html#0, but
> since I'm using trunk I adapt the code to the new API (I guess I do it
> right). When compiling this there is also a warning saying that iLoader is
> deprecated, what should I use in replacement of this interface?
>
> Thanks and best regards,
> Carlos.
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> Crystal-main mailing list
> Crystal-main@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/crystal-main
> Unsubscribe:
> mailto:crystal-main-requ...@lists.sourceforge.net?subject=unsubscribe
>
>



-- 
Project Manager of Crystal Space (http://www.crystalspace3d.org)
and CEL (http://cel.crystalspace3d.org)
Support Crystal Space. Donate at
https://sourceforge.net/donate/index.php?group_id=649
Personal page: http://users.telenet.be/jorritTyberghein/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: 
mailto:crystal-main-requ...@lists.sourceforge.net?subject=unsubscribe

Reply via email to