Camera matching
 1-6  7-26  27-38

Previous
Next
 From:  vinced
3644.7 
Hi Paq,

you have a cool technical art style.

Just went through your gallery,

great stuff for inspiration an learning.
  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:  WillBellJr
3644.8 
As always, PaQ is my hero!

-Will
  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:  ppj
3644.9 In reply to 3644.2 
Very nice !!! Impressive !! great job PAQ :-)

next on modo ;-)

EDITED: 30 Jun 2010 by PPJ

  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)
3644.10 
Awesome racer!!

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:  PaQ
3644.11 
Hello there, well thanks a lot for the cool comments :)

For info, to anyone interessted into the script, some minus value has to be done to match MoI camera with modo one :

So lets say the modo camera postion is at x,y,z ... then you have to put x,-z,y in the script values ... and the tilt angle in the 3D angle option is minus the modo Roll one)

EDITED: 30 Jun 2010 by PAQ

  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:  PaQ
3644.12 In reply to 3644.11 
Works pretty well :)





... but still don't get the math for the angle of view ...

EDITED: 3 Dec 2015 by PAQ

  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:  Frenchy Pilou (PILOU)
3644.13 In reply to 3644.12 
Nice reaction's car!
---
Pilou
Is beautiful that please without concept!
My Gallery
  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)
3644.14 
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:  DannyT (DANTAS)
3644.15 In reply to 3644.12 
Another very cool model PaQ! fantastic work.

Cheers
~Danny~
  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
3644.16 In reply to 3644.12 
Hi PaQ,

> ... but still don't get the math for the angle of view ...

So to start with you'll probably want to do the screencapture with a script like this so you can exactly match the pixel width and height dimensions:

script: /* render view to clipboard */ var v = moi.ui.getActiveViewport(); if ( v != null ) { moi.view.lineWidth = 4; v.renderToClipboard( 2560, 2560 ); moi.view.lineWidth = 1; }

Change the 2560,2560 to your target width,height.



Then for converting a full horizontal angle of view into what MoI uses, try the following script - there are 3 values to substitute:

horiz_angle = 40 replace with your horizontal angle of view
width = 1024 replace with your rendered image pixel width
height = 768 replace with your rendered image pixel height

script: /* match horizontal view angle */ var horiz_angle = 40; var width = 1024; var height = 768; var x = Math.tan( (horiz_angle/2) * (Math.PI/180) ); x *= height / width; var central_angle = Math.atan( x ) * 2 * (180/Math.PI); moi.ui.mainWindow.viewpanel.getViewport('3D').fieldOfViewAngle = central_angle;



Let me know if that doesn't seem to work.

- 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:  PaQ
3644.17 In reply to 3644.16 
thanks for the nice comments !

Hi Michael, I will give a try tomorrow, for the moment I scale the image by hand until it perfecly match, not that hard.
I can apply a rule of 3 (not sure about the english term), but that's the best math I can do :P

So thanks for the enhanced version of the script :)


Just finished the image 30 min before the deadline :)

EDITED: 3 Dec 2015 by PAQ

  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:  Mark Brown (MABROWN)
3644.18 In reply to 3644.17 
Fabulous PaQ & very clever.

---
Mark
http://www.homepages.ihug.com.au/~mabrown/index.html

  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
3644.19 In reply to 3644.17 
Hi PaQ, it's an awesome result!

- 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:  FiL (FILIPPOL)
3644.20 In reply to 3644.17 
Bravo!

FiL
  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:  David (BLEND3D)
3644.21 
Amazing!
  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:  eric (ERICCLOUGH)
3644.22 In reply to 3644.21 
Stunning!
eric
  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:  max3d (DAVEDAVIDSON)
3644.23 In reply to 3644.12 
very nice work mate and love the style you went for
www.max3d.org
  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:  PaQ
3644.24 
Hello,

Thanks for your comments :) really appreciate.

@Michael, I just move into a new place yesterday, so I can't do any test for the script before Monday at work !
  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:  PaQ
3644.25 In reply to 3644.24 
Hi Michael,

So here a test with the focal converter script :
width 1024 height = 512 Modo Angle of view 40

The script return : 20,628 for the field of view,

here's the result :



It doesn't completly match but it's pretty close, so I can live with that.

EDITED: 3 Dec 2015 by PAQ

  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:  Frenchy Pilou (PILOU)
3644.26 In reply to 3644.25 
There is not also a screen factor deformation depending of measures of each computers? (4/3, 16/9...
  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:  1-6  7-26  27-38