06 September 2017, 18:43 | #41 |
Registered User
Join Date: Dec 2010
Location: Athens/Greece
Age: 53
Posts: 719
|
About abs do this...At the top of your source, after all the includes prototype abs like this.
Code:
extern "C" int abs(int); |
07 September 2017, 04:20 | #42 | |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
Quote:
#1) just removed the file issue, kind of redundant, since all settings are stored in the scene file already. not worth the trouble for our small user base Last edited by emufan; 07 September 2017 at 08:33. |
|
25 September 2017, 17:31 | #43 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
I found two more plugins by Bman
one I was able to convert from cpp to c. just a problem with the result of the effect. the 2nd one I have problem while translating from cpp to c: Code:
dXInit((sa->oPos[0] / defInst->fXSize) - defInst->fXCenter); mand.c 428 Error 15: invalid function call dYInit((sa->oPos[1] / defInst->fYSize) - defInst->fYCenter); mand.c 429 Error 15: invalid function call for dXInit and dYInit. orig and my src included. are you still around, alkis? #1) i've found something trivial: i've changed: Code:
dXInit((sa->oPos[0] / defInst->fXSize) - defInst->fXCenter); dYInit((sa->oPos[1] / defInst->fYSize) - defInst->fYCenter); to dXInit = ((sa->oPos[0] / defInst->fXSize) - defInst->fXCenter); dYInit = ((sa->oPos[1] / defInst->fYSize) - defInst->fYCenter); can you look at it?! maybe i made a mistake somewhere. #2) hmm, it does work, it is not a fractal mandelbrot effect, it "only" influences the luminosity of a surface. and this does work. I should look for some easy math formulas for certain effect, so we could add some new effect to the plugins, similiar to the fader plugin, i made from the blinker plugin. problem may be those given API functions, something with a pixelshader would be worth an attempt, but there is not a single example src for that plugin type, IIRC :/ #3) pixelshader is also only some effect to the final rendered image. those shaderplugins are the type to add some procedural textures to an object/surface. *hmm* Last edited by emufan; 25 September 2017 at 19:53. |
25 September 2017, 17:53 | #44 |
Registered User
Join Date: Feb 2012
Location: #DrainTheSwamp
Posts: 4,545
|
I just found this great website by Bman: The Art of LightWave Plug-ins
Creating a LightWave Image Filter plug-in, step by step. Bman's website has the new and older plugins, incl source and some info about Bman himself. *big thanks* to archive.org for preserving those old website. all those old stuff would have been lost otherwise. #1) what about a displacement plugin, HOT Ocean ToolKit , is open source next to the shader/particle effect, the transformation for a given mesh should be doable. it is more or less an advanced gooze displacement plugin. Last edited by emufan; 25 September 2017 at 18:05. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
"Voices8" 8 Channel Soundtracker "DemoSongI" song - "This is the Amiga with 8 Voices" | DemosongIHunter | request.Music | 45 | 23 May 2022 20:07 |
"Screech!! v2.41" & "Screech!! [AGA] v2.51" - "HD install" --> "ADFs" | DamienD | request.Old Rare Games | 45 | 15 June 2020 12:42 |
"Reminder "Lincs Amiga User Group aka "LAG" Meet Sat 5th of January 2013" | rockape | News | 4 | 30 January 2013 00:06 |
CD32 Image-Name-Bug: "...(bla)[!].zip" -> "...(bla)[" / "...[test].zip" -> "...[tes" | cfTrio | support.WinUAE | 8 | 18 December 2012 16:31 |
Problems with "Thespywholovedme", "Flood", "Shinobi" | sareks | support.Games | 12 | 03 May 2006 14:52 |
|
|