OBJ export and Blender
All  1-6  7-17

Previous
Next
 From:  Michael Gibson
973.7 In reply to 973.1 
Hi Syziph, yes that command reference will probably help, look for the section labeled "Meshing options".

From your description, it sounds like vertices are not welded. That means that some polygons have their own individual vertices where they are matching up along an edge, instead of the polygons being hooked into the same shared vertices there.

Being unwelded means that the polygons are not really "connected" to one another, so some operations that deal with connections between polygons like smoothing will behave differently.

When you export from MoI, expand the Meshing options dialog by the little arrow in the lower-left corner and make sure the "Weld vertices along edges" is checked.

However, it is also possible that Blender's importer automatically separates (unwelds) vertices because of limitations in how it handles vertex normal information. The OBJ file can have different UV texture and normal information at each point of a face - I think that Blender does not support this kind of per-face information and needs to have things like UVs specified per vertex instead. This means that it will break things into separate vertices so that it can assign different values to the different vertices, basically unwelding things. Sorry that is difficult to explain easily but basically to sum it up the Blender importer may separate points itself.

To fix it, there is probably some kind of "merge vertices" or "weld" or "combine points" type command in Blender, you could use that to weld the points together to get the kind of smoothing that you want.

It may also be possible to disable importing UVs or vertex normals on import - that would probably stop the importer from separating the points.


> Do you have any plans for internal renderer or integration with free
> raytracers (I mean exporting scenes, lights, materials) ?

Yes, I definitely want to add some basic rendering features built in to a future version, including being able to assign and export materials.

I'm not completely sure when this will come though, probably there will still be some more modeling functionality that I will focus on for a while first.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Marc (TELLIER)
973.8 
Hi, I also remember a trouble with 3ds import (and possibly obj. import) in a recent version.
Having Python installed solved the problem.

Hope that will help you,

-Marc
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  sk2k
973.9 In reply to 973.1 
Hi,

yes sometimes it is hard to get an object into Blender and it get's even harder if you want export it to Indigo and much more harder if it is an transparent object (like a glass). :)

I'm still figurung out how to get an object from MoI into Blender without too much tweaking in Blender.

MfG
sk2k
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Syziph
973.10 
Sorry for the late reply!
Thanks for the tips, Mr. Gibsion!
Thanks to all for the suggestions! I have Python 2.5 installed
Maybe it's a good idea to make things more visual:)
I will try to export something later this day and will post all trouble areas that arise!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  anthony
973.11 In reply to 973.10 
Syziph,

If you're having trouble with Blender's OBJ importer, please try the one I wrote. It uses the LWO format and imports normals as well. It might work better for you. The link is in this thread: http://www.moi3d.com/forum/messages.php?webtag=MOI&msg=979.1
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Syziph
973.12 
Anthony - I did a preliminary search with "Blender" keyword before starting this thread but didn't found your post.
Now I have the opportunity to thank you for this wonderfull import script.
It seems that rendering works perfectly now.
Blender + Moi can work together!
Thank you very much!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  sk2k
973.13 In reply to 973.12 
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Syziph
973.14 
Thanks sk2k, I am already familiar with this tutorial.
Here is a test render (look the attachment).
The model was made in MoI, exported as OBJ (with Weld vrtices turned off and level of detail 9, quads and n-gons). I also tried to export it as LWO and import with anthony's import script. The end results in both cases look nearly the same.

The render looks good but in some places you could notice distinct polygons. This could be reduced with increasing the polycount, but that makes my machine running very slow.
Overall result is very good!

Out of topic: Which is faster? NURBS rendering or SDS rendering?

There is very interesting topic started in Blenderartists:
http://blenderartists.org/forum/showthread.php?t=106714&highlight=NURBS
And fun to read:)
Attachments:

  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
973.15 In reply to 973.14 
> The render looks good but in some places you could notice distinct polygons.

Do you mean you notice polygons in the shading, or in the silhouette of the object?

If it is in the silhouette, then yes you can only really solve that by creating more polygons on the export. If it is in the shading then make sure you are getting the good normal information in.


> Out of topic: Which is faster? NURBS rendering or SDS rendering?

Well in most cases both of them are converted into polygons at some point before rendering.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  BbB (BERTRANDB)
973.16 In reply to 973.15 
I've spent quite some time fooling around with the MoI .obj exporter and Blender. I'm now generally achieving the best results by exporting unwelded vertices and using the Edgesplit modifier in Blender. In most cases, it deals with the smoothing issues. In case you really want to connect all loose vertices (for instance if you want to apply Subsurf or Sculpt your MoI mesh), use the "Remove Doubles" command in Blender, which will merge vertices that are in the same location. I use mostly Indigo for rendering, and it is sometimes picky when rendering flat surfaces generated in MoI. A flat surface would then show with shading differences, with parts of the plane appearing darker than others, even if the Edgesplit modified is used. In such cases, the only workaround I've found that seems to be working is to extract the flat surfaces from the mesh, move them to a separate mesh object and remove the smoothing option. Curved surfaces generally don't have problems. Hope that helps.
I will now try the LWO importer and see whether it works better.
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  BbB (BERTRANDB)
973.17 In reply to 973.16 
Soooo. I've now tried the MoI-LWO-Blender importer and it seems indeed to be a genuine miracle! Wonderfully clean model!
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-6  7-17