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

App Class

Hello While looking through several of the samples, I came across code that included references to an App class. I found the documentation for DzApp but not for the App class. Can anyone help me?

View Article


How to Save a rendered image & Add Canvases

Hello, I have just started with Daz scripting. I'm trying to load a file, add a canvas and save the rendered image as a png. I have been able to load a file, start the render and activate the canvases...

View Article


How do Wildcards work?

Me again, sorry. I've got a set of dynamically-generated buttons named switch0, switch1, etc. If I use findChildOfWidget("switch"), nothing is returned. If I try to use a wildcard (i.e....

View Article

Action when certain buttons in a button group are pressed

Here's the code I have: function hasfad() { for (i=0; i<swtch.length; i++) { var fad = opt.indexOf(Scene.getNode(switches[i]).name); if (swtch[i].down && fad == 0) {...

View Article

Image may be NSFW.
Clik here to view.

Help with reparenting bone to a different bone script

I am working on a script to change the Daz skeleton to match that of the Unreal Engine mannequin. It's a request I have seen around the Daz forums and a personal scripting challenge I set for myself....

View Article


Very simple(?) script

Hello there.. Absolute beginning here.  I was wondering how to make a script for some functions from the daz menu. for example if I select a genesis 8 female character, and pose it, then save it's pose...

View Article

retargetting rotation data to a joint

Hello there. Complete newbie here.. :) After importing an fbx file with some rotation data, I want to retarget that rotation data to a joint of a character (ex: his index finger).   How would I make a...

View Article

Orbit point of current camera?

The subject pretty much says it all - I need to obtain the (invisible) point in 3D space that the camera is currently orbiting.

View Article


DzApp.getTempFilename() doesn't seem to clean-up after itself.

Hello All, According to the documentation, DzApp.getTempFilename() should clear up any files in the temp_dirs it creates when Daz shuts down. Unfortunately, this doesn't seem to be the case. I've...

View Article


Total Noob Question: Daz Script calling a Plugin or dll?

Hello everyone, I have a project I'm doing which I hope to get onto the store at some point. At the moment i'm struggling through some image processing/manipulation where i'm iterating over every pixel...

View Article

Synchronous subdivision update?

Is there any way to apply a figure's subdivision synchronously?   Whenever a pose is changed the figure's base geometry updates synchronously, but if subdivision is enabled it doesn't get applied until...

View Article

Save UV Set Value with Material Preset or change UV Set via script

Hi! I'm trying to change the UV Set of a script generated shell either per script or when I apply the material. I can't get it work. I've loaded in the UVSet on the base figure and saved it as a UV...

View Article

Face Transfer Automation - Referencing Existing Widgets - Help

I am trying to automate the process of face transfer.   The idea is to pass the file path and gender type to a function. The function will then use the image and generate the model. My initial approach...

View Article


Daz script sin() and cos() functions

I've started playing with scripts. What I want to do is rotate an object - that bit I've got working (i.e. writing different Xrot values to successive frames). But it rotates about the bottom of the...

View Article

PostgreSQL question

Hi all, this is probably the closest place for me to ask this question- I understand that PostgreSQL is the DB being used in DAZ. I write SQL/DML queries in products like Oracle and MySQL relational...

View Article


what is the different between getGeometry() and getCachedGeom()

Hi, everyone. what is the different between getGeometry() and getCachedGeom()? var oMale = Scene.findNodeByLabel("Genesis 8 Female"); var oObject = oMale.getObject(); var oShape =...

View Article

Scripted Renders - What Versions of 3Delight and Renderman does Daz Use?

Hello all, I started looking into scripted rendering for 3Delight and I see in the Daz Scripting Documentation for the DzScriptedRenderer is says "Implements a scriptable RenderMan interface for the...

View Article


Image may be NSFW.
Clik here to view.

Simple explanation for a C# developer (classes/inheritance)

Hi @all, For some purposes, I want to use (quite simple) inhertance in scripts an I saw this is possible, but a bit frustrating for me, because I can't find a complete reference for scripting. I 'm...

View Article

Setting Camera Frame Width from script

Hi there, I have a script that instantiate a new camera , position it and sets up the focal length and frameWidth( see exmple below) cam.focalLength=20.78461; cam.frameWidth=24; The focalLength works...

View Article

Updating an NaN script to 4.9?

I've been using 'Not A Number' pose presets for a long time now (to move pieces in modular sets). They applythe trans/rot value ad infinitum, so it's not a fixed value - it just keeps adding the same...

View Article
Browsing all 1036 articles
Browse latest View live


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