The 3rd Age

Master Hero Mod 2.0

Master Hero Mod 2.0

MasterHero Mod : Enhances Visuals, provide series of modifications and additions to the game play

Button for The 3rd AgeButton for The Dwarf HoldsButton for The Elven AllianceButton for Helm's Deep Last HopeButton for GothmogtheOrcButton for BFME+Button for The Four AgesButton for HDR HeadquartersButton for Middle Earth CenterButton for Project Perfect Mod

Become an affiliate!

   

Quick Lists

Top Rated Popular New Updated Last Comments Users

Register and log in to move these advertisements down

Importing and Exporting OBJ Files from Renx

Avatar of Lord of the Rings Junkie

Lord of the Rings Junkie

Category: Graphics
Level: Intermediate
Created: Saturday August 30, 2008 - 20:12
Updated: Saturday June 27, 2009 - 19:10
Views: 10615
Summary: Import and export OBJ files from Renx to allow modding from a wider variety of 3D packages.

Rating

Staff says

4.0

Members say

3.5

Average

3.7/5.0

3 votes

Page 1 2 3 4
Importing:

Now you have your edited model, we need to get it back into Renx so that we can export it back to W3D. Something to keep in mind before we start: Renx uses a Z-up coordinate system instead of a Y-up system like most programs, so when you export your OBJ you may want to make sure that the top of your model is facing the Z+ axis. The Y+ axis is treated as the forward axis in-game.

It may seem a bit odd that you had to install two OBJ scripts when one of them is supposed to be able to both import and export, but the truth is that neither script performs well enough on its own to be able to import a model with the UV mapping untouched. However, we can still get the results we need if we use both of them together.

Step 1: Open Renx, go to the utilities tab, and click the MAXScript button like before.

User image


Step 2: This time select the Wavefront OBJ Import script from the utilities drop-down, then click the 'Import' button in the script panel.

User image User image


Step 3: Navigate to your OBJ file and click 'open'. Your model should show up in the perspective view, but you will notice that it doesn't show up in any of the other views.

User image


There is something wrong with the mesh data, as this model will not export to W3D and gets all screwed up if you try to convert it to an editable poly mesh. The UV coordinates have imported perfectly though, and we can save those.

Step 4: Go to the modify tab (looks like a quarter circle,) and give the mesh an 'Unwrap UVW' modifier.

User image


Click the 'Edit' button in the parameters panel, and you should see that the UVs have been preserved.

User image User image


We will need this UV set later, and Renx allows us to save it as a UVW file.

Step 5: Click 'Save' in the parameters panel and save the UV coordinates as a UVW file to anywhere on your hard drive.

User image


Step 6: Select the imported mesh and delete it.

Step 7: Go back to the utilities tab and click MAXScript, then load the import/export script as before.

User image


Step 8: This time we are obviously going to hit the 'import' button. This time the mesh should show up in all 4 view ports.

User image


This mesh will export perfectly, and all smoothing groups should be intact. The problem is the UVs are all messed up.

Step 9: Go back to the modify tab and add an 'Unwrap UVW' modifier as before. Just for fun, click 'Edit' in the parameters panel to see what our UVs look like.

User imageUser image


Yikes!

Step 10: We're almost done. To fix the UVs, simply click the 'Load' button in the parameters panel, and navigate to the UVW file that we saved earlier.

User image


Ta-daa! You can now put materials on your mesh, rig, bind, animate, and export to W3D in Renx as you please.

Links / Downloads

 HitsAdded
Renx OBJ Tools2791August 30, 2008 - 20:16

Go to top

 

"One site to rule them all, one site to find them,
one site to host them all, and on the network bind them."

 
8:39:33