Peter Burch

Dark_Ego

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Trouble rendering Oct. 22, 2024, 1:38 a.m.

There is a lot of information about how keys, scales {major, minor, pentatonic, diatonic, chromatic, etc.}, modes, and chords relate in one way or another.
I am working on a game in Unreal Engine that will initially teach a student how to recognize intervals and chords, both harmonic and melodic.
The game will play either a chord or a series of tones, after which it will show three panels containing a stave, a tab, and a textual representation. One panel will comprise four panes/choices, of which only one will be correct. The other two will have the correct answer in different forms. While playing the game, the player may connect the various representations and learn other skills.
Other skills taught will include where to find the notes on the fretboard, how to build chords, and how to create arpeggios. As I progress with my Python and Blueprints abilities, I will add more skill sets.

After I get the proof of concept working in Houdini and Python, I will port it to Unreal. Think of Rocksmith without all the fancy graphics. I will add practice routines when I figure out how to implement Fast Fourier transformations in Unreal.
Lots of plans, little time to work on them.

Trouble rendering Oct. 20, 2024, 2:03 p.m.

I need help with this File. I am unable to render the image created because mantra is unable to find the geometry.
I am working on a training aid for guitar novices, including myself. I still have a lot of coding to do.
I have tried rendering on three different machines. Two have indie licenses, and one has an apprentice. They all display the geometry, but none render.

I don't know what is wrong.

Aurora R12
Processor 11th Gen Intel(R) Core(R) i5-11400F @2.60GHz 2.60GHz
Installed RAM 64.0 GB (63.7 usable)

Nvidia Gforce RTX 3060 with 2 SamsungLU28R55 30 Hz 32-bit color

Windows 11 Home Version
23H2

Houdini Version 20.5.370

Houdini and chatGPT March 23, 2023, 3:19 a.m.

I was checking out chatGPT, asking it to do different things like create a meal using foods found in the wild. Write a python script to find duplicate files on a hard drive and other things when I got the idea to have it create a scene in houdini using python. I gave it this prompt:

write a hython script that generates 20 cubes in random locations in sidefx houdini

This is what it gave me

In Houdini, Python scripts can be executed through the Python Source Editor or saved as a Python module. Below is a Python script that creates 20 cubes (boxes) with random locations in Houdini using the Houdini Python API (Hython):
import hou
import random

# Set the number of cubes to generate
num_cubes = 20

# Set the range of random coordinates
min_coord = -10
max_coord = 10

# Create a geometry node in the obj context
geo_node = hou.node('/obj').createNode('geo', 'Random_Cubes')

# Loop through the number of cubes
for i in range(num_cubes):
    # Create a box node
    box_node = geo_node.createNode('box', f'box_{i + 1}')

    # Generate random coordinates
    x = random.uniform(min_coord, max_coord)
    y = random.uniform(min_coord, max_coord)
    z = random.uniform(min_coord, max_coord)

    # Set the box node's translation parameter
    box_node.parmTuple('t').set((x, y, z))

    # Connect the box node to the merge node
    if i == 0:
        merge_node = geo_node.createNode('merge', 'merge_boxes')
    merge_node.setInput(i, box_node)

# Set display flag on the merge node
merge_node.setDisplayFlag(True)
merge_node.setRenderFlag(True)

# Layout the nodes in the network editor
geo_node.layoutChildren()
Copy and paste the script into the Python Source Editor in Houdini and click the "Apply" button. This will generate 20 cubes at random locations within the specified coordinate range.

This machine does not have Houdini installed, so I cannot view the output.
Just thought I would pass it on.

BTW it seems that chatGPT understands other 3D applications, including POVRay. Who would have guessed?