Jump to content

.geo Import For Lw


eetu

Recommended Posts

Here's a test version of a minimal .geo importer for Lightwave, http://undo.fi/houdini/lw-geo/

It understands an ascii .geo with polygons & point attributes only, behaviour with a .geo with other elements unknown.

In the general case I strongly recommend using .obj, but this importer reads in Houdini point attributes and converts them into their LW counterparts;

1-dimensional attributes are read in as weight maps

2-dimensional attributes are read in as uv-maps

3-dimensional attributes are read in as morph maps by default

3-dimensional attributes with a name starting with 'uv' are truncated to 2 dimensions and read in as uv maps

3-dimensional attributes with a name starting with 'morph' or 'v' are read in as morph maps (redundant, I know, but I might change the default)

3-dimensional attributes with a name starting with 'Cd' are read in as RGB color maps

4-dimensional attributes are read in as RGBA color maps

My original use was to get velocity vectors in as morph maps so I could render object sequences with motionblur, but

the attributes can probably be used for quite a lot of other reasons.

This hasn't been tested in production, so proceed with caution..

eetu.

Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
  • 6 years later...

Ohh, a blast from the past :)

 

I think fluids was the original use case for this. I haven't tested this in years, but one obvious issue to know is that the plugin expects 'old-style' .geo files - you can still create them from Houdini by specifying a .hclassic filename extension.

Link to comment
Share on other sites

hey, cool... ^_^

 

so it will create motion blur in LW alla the realflow method... right... ?

 

Netvudu

By the way, I'm just trying to export points (particles). Dunno if this makes a difference or not.

 

 

 

it might, it's probably better to try to export true geometry first as a test

Edited by erikals
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...