[sldev] [PATCH] VWR-1110: Scuplted Prims: Ability to Import .OBJ Files

John Hurliman jhurliman at wsu.edu
Tue Jun 12 21:06:43 PDT 2007


Dzonatas wrote:
> This has kinda sat around on my table for a bit, so I posted the 
> source to let it bounce.
>
> https://jira.secondlife.com/secure/attachment/10783/llimageobj.patch.txt
>
> https://jira.secondlife.com/browse/VWR-1110
>
> Is seven votes enough to make this worthwhile?
>
> Enjoy,
> Dz
>

Looks great, I put a vote on it. If this doesn't make it in to the 
viewer I can at least implement something similar in sculptpreview, and 
maybe a command-line version can be written that is cross-platform. 
Taking OBJ importing a step further though, another idea I had was to 
allow temporary OBJ models to be loaded in to the Second Life world and 
moved around. No interaction with the server, but the scenario is you 
have talented 3D architects or modelers that construct something in 
AutoCAD or Maya and you want to make the best adaptation possible in to 
Second Life. You could load the OBJ file and resize/move it in-world, 
and then hand-create prims to match up to the original model as close as 
possible. Loading OBJ files in to vertex arrays isn't difficult, but any 
idea on how much work there would be to get client-side objects in to 
the rendering pipeline and be able to drag them around without sending 
any network updates out?

John Hurliman


More information about the SLDev mailing list