Author Topic: Spiral tree not mapped correctly.  (Read 1794 times)

Offline skulltronix

  • Newbie
  • *
  • Posts: 44
    • View Profile
Spiral tree not mapped correctly.
« on: December 19, 2017, 05:19:25 PM »
Hi, every effect I try on my spiral tree just spirals. Snow doesn’t fall vertically. It spirals. I’ve tried many different settings in setup and rendering styles. Screen preview matches physical leds. Even screen preview doesn’t show falling snow.
Tree is just one string of 95 leds wrapped 8 times around a cone. 9” diameter. 16” tall. Starts bottom right. Counterclockwise spiral when looking from the top.  30/meter spacing. Roughly 2” between spirals.

Offline keithsw1111

  • Administrator
  • Hero Member
  • *****
  • Posts: 2733
    • View Profile
    • Kellyville Christmas Lights
Re: Spiral tree not mapped correctly.
« Reply #1 on: December 19, 2017, 06:15:47 PM »
Use per preview.

Offline skulltronix

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #2 on: December 19, 2017, 06:57:23 PM »
Use per preview??

Offline K-State Fan

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #3 on: December 19, 2017, 07:36:24 PM »
Render style in the layer settings

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #4 on: December 19, 2017, 08:15:46 PM »
Per preview doesn't work either I tried it.

Offline skulltronix

  • Newbie
  • *
  • Posts: 44
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #5 on: December 20, 2017, 02:56:40 AM »
I tried all the render styles. I’m going to assume spiral trees just don’t
 map the way I want and move on to creating a more precise cone design
and tackle the modeling issue again later.
But...  the on screen preview matches pretty closely to the actual leds but
 snow still does not fall vertically on the preview. I believe it should.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #6 on: December 20, 2017, 06:18:12 AM »
Jerry I already answered you on the issue ticket.  Per Preview appears to be broken for the Snowflake effect it has nothing to do with spiral trees.

Offline deplanche

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #7 on: December 20, 2017, 06:24:13 AM »
I posted a similar answer on FB, but for those that don't check there.

The reason it looks like it spirals rather than falls is because in a spiral tree model, each of the pixels is lower than the last one.  So even if you are rendering per preview, it is going to look like it is spiraling, because it would turn on/off the lights from the top down or bottom up.  To get a falling type effect I think you would need to make submodels and change the render style to use those, or use the rotozoom to put an angle on the effect to better match the angle of the spirals.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #8 on: December 20, 2017, 06:29:40 AM »
Per preview should have worked but what I think may be happening is Per Preview is creating a buffer as big as the entire layout screen so the snowflakes render differently as the model is sampled into the larger buffer.

Offline deplanche

  • Full Member
  • ***
  • Posts: 187
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #9 on: December 20, 2017, 06:59:44 AM »
Does the perspective on the model change how per preview works, or should it?

With a single spiral around a tree and the perspective set to 0, the "Y" coordinate of every pixel would be different, so it seems like the effects would be working correctly to me.  In other words an effect from the top down would appear to spiral since they would turn on in that same order because of the way the nodes are wired. 

If the perspective is different than 0 and that changes the "Y" coordinate, and it would render differently, but not sure if it does that or not.

I could be totally wrong here too.  Certainly wouldn't be the first time, and won't be the last.

Offline Gilrock

  • Supporting Member
  • Hero Member
  • *
  • Posts: 6946
    • View Profile
Re: Spiral tree not mapped correctly.
« Reply #10 on: December 20, 2017, 08:10:36 AM »
Per Preview is equivalent to laying a piece of graph paper over the layout screen.  Imagine each square on the paper is a bucket.  Whatever bucket each pixel falls into is where it lands in the buffer.  So it becomes a 2 dimensional representation as if you had drawn it as a custom model.