• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Gripes & Grumbles v
1 2 3 4 5 … 8 Next »
Collada exporter

 
  • 0 Vote(s) - 0 Average
Collada exporter

micheus
Offline

Forum's Admin and Support | Bug fixer
Posts: 3,681
Threads: 185
Joined: Jun 2012
#2
11-14-2024, 02:25 PM
(11-12-2024, 11:01 PM)ismacou Wrote: What a possibility that you consider adding to the collada exporter, the view camera (or stored views). Blender's style, for being more specific.
I don't know nothing about the Blender style, but I think we can try to add camera support to export with the information we have from Wings3D (including the saved ones):
PHP Code:
Here is an example of a <camera> element that describes a perspective view of a scene with a 45-degree 
field of view
:
<
camera id="#camera01" name="eyepoint"> 
  <
assets>
    <
lookat>
      
8.0 4.0 8.0  <!-- eye position (X,Y,Z)       --> 
      
0.0 0.0 0.0  <!-- interest position (X,Y,Z)  --> 
      
0.0 1.0 0.0  <!-- up-vector position (X,Y,Z) --> 
    </
lookat>
  </
assets>
  <
optics> 
    <
technique_common> 
      <
perspective> 
        <
yfov>45</yfov> 
        <
aspect_ratio>1.33333</aspect_ratio> 
        <
znear>1.0</znear> 
        <
zfar>1000.0</zfar> 
      </
perspective> 
    </
technique_common> 
  </
optics> 
</
camera> 


Quote:I also take the opportunity to raise my difficulty to establish the "numerical position camera". I have not been able to decipher their behavior, nor know how to extract the coordinates of the camera or the focal point, not even from the information in the name of the saved view ("from the +z to the -x distance ...".
What does that mean? ).
That is barely informative and also not precise - of course. That is a suggested name just to make then different, but we should rename to something with meaning for us.

This will not aggregate much, but it just says the "octant" in which camera is placed (From -X+Z+Y) and the quadrant its pointing at (towards -X+Y). The distance of 8.0 is the default one each time we reset the camera.

By default the camera will be pointing (look at) {0,0} (X,Y) (left image). We change the Look At by using the View->Aim command (right image).
[Image: w3d-camera-lookat.png]
[Image: tw.png] @MicheusVieira [Image: yt.png] @MicheusVieira [Image: da.png] Micheuss [Image: ig.png] micheus4wings3d
* Wings3D Team stands for: Björn and Dan
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Collada exporter - by ismacou - 11-12-2024, 11:01 PM
RE: Collada exporter - by micheus - 11-14-2024, 02:25 PM
RE: Collada exporter - by ismacou - 11-24-2024, 07:47 PM
RE: Collada exporter - by micheus - 11-26-2024, 09:55 PM
RE: Collada exporter - by ismacou - 12-24-2024, 12:09 AM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode