<div dir="ltr">I was thinking of porting BVhacker to python for platform portability, adding some functions including loading hanim, and using opengl in python to render.<div>But what's missing is a scene graph. I don't think x3d.py is useful as a scene graph. Perhaps x3d.py could work like Blender x3dv - as an import/export intermediary, and anari2x3d (a2x_) and x3d2anari (x2a_) would be like the b2x_ functions in blender x3dv exporter. And once those functions are developed then the anari scene graph could be used in other applications.</div><div><br></div><div>-Doug</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Nov 28, 2023 at 2:57 AM John Carlson via x3d-public <<a href="mailto:x3d-public@web3d.org">x3d-public@web3d.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Have you wanted to do raytracing in x3d across a range of graphics cards, but had no way to do low level stuff? Consider the ANARI industry standard 1.0 API SDK:<div dir="auto"><br></div><div dir="auto"><div><a href="https://github.com/KhronosGroup/ANARI-SDK" target="_blank">https://github.com/KhronosGroup/ANARI-SDK</a></div><br></div><div dir="auto">ANARI is close to X3D Interchange profile, including cameras and lighting.</div><div dir="auto"><br></div><div dir="auto">I’m open to requests for X3DJSONLD JSON inputs to ANARI python, C and C ++ output, but I’m not going to do it unless someone wants it, and can test my products. I don’t have a raytracing card myself. I will probably render X3D to USD for my testing. My preference would be to use Python output, since that is allied with USD.</div><div dir="auto"><br></div><div dir="auto">If you want to start with XML or VRML and skip X3D JSON, seek elsewhere. I can provide assistance to those who need conversion to JSON.</div><div dir="auto"><br></div><div dir="auto">Since ANARI is close to Interchange format, there’s probably no reason to write an ANARI renderer for other X3D profiles, but someone else may want to try. I don’t believe there is an X3D Loader for ANARI either. I’m not interested, as I am interested in program synthesis. X3DJSONLD is my X3D Loader, which comes before program synthesis.</div><div dir="auto"><br></div><div dir="auto">I don’t believe there is animation with ANARI, but there is an ANARI addon renderer for Blender and an ANARI backend to USD converter for Omniverse (or something like that).</div><div dir="auto"><br></div><div dir="auto">ANARI does have PBR, I’ve heard.</div><div dir="auto"><br></div><div dir="auto">I have heard of people using ANARI with OpenXR.</div><div dir="auto"><br></div><div dir="auto">I’m just looking for an excuse to try it out and no marketing or sales implied. I’m a volunteer, with quite a bit 3D training in college, including writing a raytracer.</div><div dir="auto"><br></div><div dir="auto">John </div>
_______________________________________________<br>
x3d-public mailing list<br>
<a href="mailto:x3d-public@web3d.org" target="_blank">x3d-public@web3d.org</a><br>
<a href="http://web3d.org/mailman/listinfo/x3d-public_web3d.org" rel="noreferrer" target="_blank">http://web3d.org/mailman/listinfo/x3d-public_web3d.org</a><br>
</blockquote></div>