Search found 7 matches

by pgeissler
14 Aug 2013, 11:20
Forum: Programming
Topic: Multiple extrusion script
Replies: 4
Views: 1807

Re: Multiple extrusion script

The curve solution is a truly good idea, but i'm afraid i'm running out of time to implement it for now.. If i can work on this script again i will surely consider it, thanks! Here is the current version of the script: onGUI(); function onGUI() { if(!isAlreadyOpened()){ var oPSet = CreatePSet() ; va...
by pgeissler
13 Aug 2013, 10:34
Forum: General & Troubleshooting
Topic: Camera matching script, need some details
Replies: 10
Views: 2217

Re: Camera matching script, need some details

Hi, i just gotten back off vacation, without PC most of the days nor XSI.. Thanks for your tests, as you said, the FOV setting seem exact. So i really, really don't know why it give non-linear results when i use the stage3D application to re-calculate the FOV. I may check the code of this applicatio...
by pgeissler
13 Aug 2013, 10:09
Forum: Programming
Topic: Multiple extrusion script
Replies: 4
Views: 1807

Multiple extrusion script

Hi, I'm working on a script (JScript) that create some extrusions from a polygon to get this kind of result: http://uppix.com/f-hinge5209e3fb0013a5bb.png In this scene, i started from a sphere and perform a 5-stage extrusion with an angle of 90° and a distance of 10. The first object (tagged "1...
by pgeissler
12 Jul 2013, 15:58
Forum: General & Troubleshooting
Topic: Camera matching script, need some details
Replies: 10
Views: 2217

Re: Camera matching script, need some details

That would be great! i hope i will soon getting this script working. However, it seem quite hard. I continue to get some weird issues with the field of view. the algorithm i used is already implemented on another program (made with Flash and Stage3D) i made for a company some month ago. The purpose ...
by pgeissler
08 Jul 2013, 11:58
Forum: General & Troubleshooting
Topic: Camera matching script, need some details
Replies: 10
Views: 2217

Re: Camera matching script, need some details

It's something about triangle, orthocenter and a bit of trigonometry... The algorithm is already done even if i'm not able to understand it anymore, the problem is the integration with xsi now. As i'm not a 3D artist at all, i don't know the soft very well.
by pgeissler
05 Jul 2013, 17:40
Forum: General & Troubleshooting
Topic: Camera matching script, need some details
Replies: 10
Views: 2217

Re: Camera matching script, need some details

Thanks for your answer. It's strange because LogMessage (ClipImage.Source.Parameters("XRes").Value); return an error ("'ClipImage.Source' is null") even if ClipImage is global, but i've manage to get the value by using the following: var Sourcename=GetValue( ClipImage+ ".Sou...
by pgeissler
05 Jul 2013, 17:09
Forum: General & Troubleshooting
Topic: Camera matching script, need some details
Replies: 10
Views: 2217

Camera matching script, need some details

Hi, i'm working on a camera matching JS script, to get the correct camera FOV from a photography and place some 3D on top of it. I'm using some mathematics, trigonometry and all, people will just have to place some curves along the vanishing lines of the pictures and the script will give the correct...