YOUR ACCOUNT

Login or Register to post new topics or replies
Sjeiti
sock puppet

Posts: 722
Filters: 71
Is it possible to call Perlin noise from script?

If so, can we call Perlin.noise(x,y,z) (or even a fourth parameter)?
...for spherical mapping purposes.

(it would be a bit of a pain to rewrite this to LUA script in that tiny script window ;-p)
  Details E-Mail
Totte
Übernerd

Posts: 1460
Filters: 107
Sjeiti -as we say i Sweden: "What are you complaining about, you got the whole weekend to finish it off" smile;-)
- I never expected the Spanish inquisition
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
It is not possible currently, but I suggested that they add a common FF function library to lua, so we don't have to code ineffective lua versions of something that is already there (just not registered internally in lua).

Functions like blend, adjustments, color space functions, RGB Math and the noise functions would be really great to have access to!
  Details E-Mail
Dmitry Sapelnikov
Filter Forge, Inc. AKA Egret
Posts: 76
Filters: 5
It's already implemented, but not released smile:D
Actually we've done 3d perlin noise implementation in order to provide good and simple way of random numbers generation. But we've got a great problem - perlin noise is Gaussian -distributed while RNG has to be uniform-distributed.
Lua perlin noise is likely to be released (but we don't promise it smile;) )

Quote
Sphinx. wrote:
Functions like blend, adjustments, color space functions, RGB Math and the noise functions would be really great to have access to!

They are in our plans too.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1750
Filters: 39
Sounds great Egret!

When you get to the math lib, it would be great if you could add the combined sincos function too (it is much cheaper than calling Sin and Cos seperately, and you often use both at the same time with same input)
  Details E-Mail
Sjeiti
sock puppet

Posts: 722
Filters: 71
sweet... fingers crossed then smile:)
  Details E-Mail
Vladimir Golovin
Administrator
Posts: 3446
Filters: 55
Quote
Sphinx. wrote:
Functions like blend


Yep, we plan to release the blending functions too.
  Details E-Mail
rgoer
Posts: 46
Quote
Actually we've done 3d perlin noise implementation in order to provide good and simple way of random numbers generation. But we've got a great problem - perlin noise is Gaussian -distributed while RNG has to be uniform-distributed.
Lua perlin noise is likely to be released (but we don't promise it smile;) )


being able to change the z component of a perlin noise sample would make creating textures for particle sprite effects so much more powerful... if this feature is coming soon I can't wait smile:)
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

33,712 Registered Users
+19 new in 30 days!

153,534 Posts
+32 new in 30 days!

15,348 Topics
+73 new in year!

Create an Account

Online Users Last minute:

25 unregistered users.