POV-Ray : Newsgroups : povray.binaries.images : brain bot progress rendering : Re: brain bot progress rendering Server Time
5 Nov 2024 22:22:31 EST (-0500)
  Re: brain bot progress rendering  
From: Samuel B 
Date: 24 Jul 2023 19:55:00
Message: <web.64bf0e4241b179eff8c47d526e741498@news.povray.org>
"Samuel B." <stb### [at] hotmailcom> wrote:
> I can't remember how I got rotational info out of Blender.

Just looked at the Blender-Python code I used for getting rotational data. The
following seems to be what I went with:

  DX = math.degrees(obj.rotation_euler[0])
  DY = math.degrees(obj.rotation_euler[1])
  DZ = math.degrees(obj.rotation_euler[2])

It would appear that I relied on a built-in conversion function to get the
rotation for each axis. (I don't know if forgetting things is a blessing or a
curse :/)

Sam


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.