[x3d-public] RawKee Normal Export Issue Fixed - WAS: Reallusion Character Creator - HAnim Example

Michalis Kamburelis michalis.kambi at gmail.com
Tue Aug 26 06:14:42 PDT 2025


Data URI scheme ("data:...") is fully supported by Castle Game Engine
/ Castle Model Viewer. See
https://castle-engine.io/url#_embedded_data_data ,
https://en.wikipedia.org/wiki/Data_URI_scheme . It's a great way when
one needs to "embed" resources instead of linking to external files.

To be clear, this is something completely independent and with a
different purpose than "castle-data:" which is a specific invention of
Castle Game Engine to refer to project assets. See
https://castle-engine.io/url#_loading_data_files_castle_data ,
https://castle-engine.io/data . The similarity in the name is
unfortunate (but we don't have a better alternative, "castle-data"
makes a lot of sense for us, as this is kept in "data" subdirectory in
project usually...).

Bottom line: do not confuse "castle-data:" with "data:" :) Very
different things with different purposes. We happen to suport both in
Castle Game Engine / Castle Model Viewer. Only the latter ("data:") is
useful for stuff that should work in any X3D browser.

Regards,
Michalis

wt., 26 sie 2025 o 11:44 John Carlson via x3d-public
<x3d-public at web3d.org> napisał(a):
>
>
>
> On Sun, Aug 24, 2025 at 11:54 PM Bergstrom, Aaron via x3d-public <x3d-public at web3d.org> wrote:
>>
>> Turns out, if you miscalculate the normals, you get bizarre results. Holger pointed out my problem.
>>
>>
>>
>> Anyway, I fixed the exporter’s Per Vertex Normal calculation, and now I have a pretty good looking Character Creator avatar exported. I uploaded to the same place as yesterday.
>>
>> https://vr.csgrid.org/x_ite/rawkee-examples/cc/
>
>
> Browser bake-off, round 2, starting with .x3dj file at above link, converting to python, then to .x3d
>
> https://coderextreme.net/BrowserBakeOffRound2.mp4
>
> Of course, my renderer doesn't even have textures, so I'm not showing it ;)
>
> Here's the secret:  Aaron is using data URLs, like:
>
>                                                                                                                         "@url": [ "data:image/png;charset=UTF-8;base64,iVBORw0KGgoAAAANSUhEUgAACAAAAAgACAIAAAA9xURnAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAP+6
>                                                                                                                                                 "@url": [ "data:image/jpeg;charset=UTF-8;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEB
>
>
> Maybe these can work in Castle Engine?   I don't really want to support a castle-data:/ URL and a data URL.
>
> Thanks!
>
> John
>
> _______________________________________________
> x3d-public mailing list
> x3d-public at web3d.org
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org



More information about the x3d-public mailing list