FBX Exporter... if you cant wait Q2 or if you are lazy

   18580   20   4
User Avatar
Member
166 posts
Joined: 2月 2006
Offline
I have just uploaded into the Exchange the source of a FBX exporter DSO with some instructions.
Time to get out of this messy world.
User Avatar
Member
1390 posts
Joined: 7月 2005
Offline
You're the man! Er… Monkey!
Great! Thanks a lot!

SYmek.
User Avatar
Member
345 posts
Joined:
Offline
Has anyone got a compiled version for XP please?! :roll:
User Avatar
Member
82 posts
Joined: 11月 2005
Offline
Change this line
double lVertices;
for this
double (*lVertices) = new double;

lines 278 and 393 in SOP_FBX_Export_Geometry.C
Edited by - 2008年3月26日 11:25:03
Victor M. Muriel
http // www . vmuriel . com [vmuriel.com]
User Avatar
Member
82 posts
Joined: 11月 2005
Offline
Compiled for Windows XP
Houdini 9.1.193 32 bits VC8
Visual Studio 2005 Express

Attachments:
SOP_FBX_Export.zip (994.7 KB)

Victor M. Muriel
http // www . vmuriel . com [vmuriel.com]
User Avatar
Member
8 posts
Joined: 3月 2008
Offline
Interesting.
I dont get it compiled for XP 64 bit.
I get the error “MSVCDir environment variable not set. Please set it and try again.”
But I really don't know how to set it.
Are you able to compile it for XP 64 bit?

Have a nice day!
Aloha Achim
Have a nice day!
Aloha Achim
User Avatar
Member
82 posts
Joined: 11月 2005
Offline
set MSVCDir=C:\Archivos de programa\Microsoft Visual Studio 8\VC
Change path for you environment.
Victor M. Muriel
http // www . vmuriel . com [vmuriel.com]
User Avatar
スタッフ
2638 posts
Joined: 7月 2005
Offline
vmur
Change this line
double lVertices;
for this
double (*lVertices) = new double;

lines 278 and 393 in SOP_FBX_Export_Geometry.C

Don't forget to delete the memory ;-) I haven't looked at the code to see where it needs to be done.
User Avatar
Member
85 posts
Joined: 7月 2005
Offline
the delete
should be line 296 after


else
{
lCache->Write( f, &lVertices );
}


and 411

else
{
lCache->Write( f, &lVertices );
}
User Avatar
Member
82 posts
Joined: 11月 2005
Offline
Hey mark, you dont understand the rule … only one line by user!
Victor M. Muriel
http // www . vmuriel . com [vmuriel.com]
User Avatar
Member
31 posts
Joined: 4月 2007
Offline
a bit of a noobish question… but how to install and how to access it? on winxp 32bit
User Avatar
Member
8 posts
Joined: 3月 2008
Offline
Trying to compile I receive following errors.
What's wrong?

Have a nice day!
Aloha Achim
Edited by - 2008年3月27日 11:44:48

Attachments:
hcustom_error.GIF (52.2 KB)

Have a nice day!
Aloha Achim
User Avatar
Member
85 posts
Joined: 7月 2005
Offline
Regarding Windows version:
1) Someone already compile it for XP64 bit I believe
2) To install it, get the plugin (.dll) into $HOME/houdini(VERSION)/dso. If the folder dso doesnt exist, create it. $HOME by default on Windows is C:\Documents and Setting\blabla\My Documents
Then to access it, go to the SOP level and FBX_Exporter should be there.
3) Augustronic, it looks like you dont have the right HDK settings. Try to compile the example of the HDK. (Only full version of VC++ will work)
This plugin has been developed on Linux, and well I admit I didnt put my mind into Windows. It should not be a big deal to compile it though.
User Avatar
Member
8 posts
Joined: 3月 2008
Offline
I will have to wait for a compile for XP64 then….. :-(

Have a nice day!
Aloha Achim
Have a nice day!
Aloha Achim
User Avatar
Member
31 posts
Joined: 4月 2007
Offline
thank u, Gerome
User Avatar
Member
85 posts
Joined: 7月 2005
Offline
Right I will retify
1) Victor compiled the DSO for WinXP32 (see above)
2) Compile for 64bit I dont have a machine available right now but I could try to do it if no one managed before me. I cant remember if compiling on Windows is Houdini build specified as it is on Linux though.
3) Augustronic I remember seeing this kind of error on WinXP 64 even for the HDK examples. I cant remember what I did to overcome it, cause it was sometime ago.
User Avatar
Member
345 posts
Joined:
Offline
Sorry to put the thread on a slightly different track. Do you guys have an idea what is the method fbx deals with exporting animation? Is it some sort of point cashing thing? I did a quick test and import an animated scene to 3dsmax - no animation was created though. But when I import again the fbx file to houdini animation was there. Is it possible that FBX plugin is on different stages of development for each package? If yes I expect autodesk should be a little bit ahead… :roll:
User Avatar
Member
85 posts
Joined: 7月 2005
Offline
Well the plugin follows the FBX standards but there is 2 types of Anim.
There is the anim you will do at the SOP level (inc deform) and this type of anim will cache as a FBX vertex cache. I dont if the FBX (Max) plugin has an option to turn on/off that cache.
Then if you do a animation a the upper level, you have to choose the “Animated” option. It will read the anim as a Curve.
It is true I have not tested with 3D Max ( only with Maya ) which I dont think it should change cause it is the FBX format.
User Avatar
Member
39 posts
Joined: 2月 2007
Offline
guys can someone tell me where to find the source code for fbx export dso on exchange?
User Avatar
Member
2199 posts
Joined: 7月 2005
Online
wouldn't mind finding this as well, what section is it in? searching for fbx returns nothing… :cry:
The trick is finding just the right hammer for every screw
  • Quick Links