Quantcast
Channel: Daz Script Developer Discussion - Daz 3D Forums
Viewing all articles
Browse latest Browse all 1036

Using AI to develop DAZ Script

$
0
0

Hi all,

Because I haven't seen any mention, I thought I'd share my experiences. I've had excellent results with Clause Sonnet 3.5 as well as ChatGPT 4o (which is still supposed to be better at code genreation that o1 apparently?).

While Claude pointed out that it doesn't know much about DAZ Script, telling it to write Qt Script from 4.8.7 worked without error, unlike trying any version of ECMAScript or JavaScript.

The trick to getting code that runs is describing the DAZ Script API to it, so that it knows how to make certain calls. I just told it a few class names, methods, and parameters, and documented it in the way that DAZ should have, and it just works.

I did not write a single line of the code I posted elsewhere to generate JSON describing the visibility of Geoshells. It took me longer to get over the encroaching feeling of guilt than it did to perfect both the generation of a data model to represent all the visibilty and then to dump it as JSON. Claude didn't get it perfect on the first try only because my explanation of the data model I wanted was wrong.

In retrospect, I should have just described what I wanted end to end, and let it come up with the data model too... it's so hard to realize that I, as a carbon based organism, can't be trusted to do any part of this anymore, at least for relatively straightforward tasks like this. That's scary but exhilarating at the same time.

 

 


Viewing all articles
Browse latest Browse all 1036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>