I’ve installed Blender 2.47 RC1 hoping to find new Ocean Sim used in Lighthouse short film in it, but I had a bad surprise, it lacks the new “Ocean” in the textures panel!
I’ve used the patched version from broken and I’d say it works very well and it seems yet complete and ready to integrate in the main branch… so… please devs! include it in the next RC!!! We need it!!! :yes:
Hi, it looks like 2.47 is going to be a bugfix only release (which I’m very happy about!), with just a few minor additions, so these sorts of new features won’t be in it. Rest assured, we still very much want the ocean tools in an official release soon, but not this one - besides, there are a few more things to clean up after the patch review.
Hi broken!
yeah, it seems a bugfix release “only” effectively. I was hoping nevertheless your patch would had been integrated in it because I’ve literally “worn out” the patched version of blender experimenting with Ocean sim.
The fact is I can find only the windows version patch at Graphicall.org and run it emulated under Wine in Ubuntu… which is a pain because of the lack of opengl accelerated driver in emulation but, well :mad:
ok, it means I’ll wait (im)patiently until the next release, in the meantime, a lot of congratulations for the development of the patch and for the film it made possible, it’s astonishing!
Hey broken,
I’m supposed to remind you to include your “dark” theme as well. I know you always forget and that you’re busy but it would be so cool to have
can we get an updated version of the patch that builds with the current svn version??
at least for me it doesn’t work…? (ubuntu, 8.04, modifier.c errors)
Ok, I’ve studied how to compile, I’ve downloaded all the necessary files from SVN, compiled and obtained my own compiled version of the latest SVN but, again, I can’t find what I’m looking for, that version also lacks the new Ocean function in the textures panel.
if you are under linux, this is pretty easy with scons (thanks Jesterking ;))
if you have some problems with a package (such as game engine, sound, etc), go to the config folder, and edit the linux2-config.py to your needs: as an example, you may want to disable OpenAL which seems to be a deprecated library by replacing “true” by “false” (easy).
if running scons gives you mistakes, you can easily solve them by installing the development package related to it (easy with ubuntu, go to synaptic and install the blabla-dev package where blabla is freetype as an example)
Hi guys, thank you very much for the advices
I’ve downloaded the Ocean patch and applied it as Lapinou suggested.
But I’ve encountered a problem.
Before the patch, I could compile without error and get my blender working,
after having the patch applied the console returned me an error and stopped compile.
This is the code:
Compiling ==> 'modifier.c'
source/blender/blenkernel/intern/modifier.c: In function ‘displaceModifier_dependsOnTime’:
source/blender/blenkernel/intern/modifier.c:2996: warning: implicit declaration of function ‘find_ipocurve’
source/blender/blenkernel/intern/modifier.c: At top level:
source/blender/blenkernel/intern/modifier.c:3022: error: redefinition of ‘displaceModifier_dependsOnTime’
source/blender/blenkernel/intern/modifier.c:2990: error: previous definition of ‘displaceModifier_dependsOnTime’ was here
scons: *** [/home/simon/svn-blender/build/linux2/source/blender/blenkernel/intern/modifier.o] Error 1
scons: building terminated because of errors.
I’m a total newbie of compiling stuff, but it seems to me the patch modify in a bad way the file “modifier.c”,
and this is what the patching process return:
did I say we need an updated version of the patch? one that works with the current svn? (Please, I don’t need no one telling me to go into the code and find out where each line should go…)
I think I did… Did anyone read my post? I don’t think…
Now, I don’t demand an updated version of the patch, I ask for one (“polite”) because it could take me hours to find out where each line should go but it would only take minutes for the one that built the patch, if he cannot I understand…
thank you (for reading me,if anybody does)
thank you very very much brokern, compiling right now
sorry if anyone (that shouldn’t) gets offended by my post
edit
but if fails to compiles, I’ll post the errors later (if you are interested)
and first you forgot to include the ocean.h in the patch
still thanx for your time
Thank you broken, but I confirm the presence of some error:
Compiling ==> 'ocean.c'
source/blender/render/intern/source/ocean.c:1:19: error: ocean.h: No such file or directory
source/blender/render/intern/source/ocean.c: In function ‘gaussRand’:
source/blender/render/intern/source/ocean.c:29: warning: implicit declaration of function ‘sqrt’
source/blender/render/intern/source/ocean.c:29: warning: incompatible implicit declaration of built-in function ‘sqrt’
source/blender/render/intern/source/ocean.c:29: warning: implicit declaration of function ‘log’
source/blender/render/intern/source/ocean.c:29: warning: incompatible implicit declaration of built-in function ‘log’
source/blender/render/intern/source/ocean.c: In function ‘omega’:
.
.
.
and so on…
.
.
.
source/blender/render/intern/source/ocean.c:50: warning: incompatible implicit declaration of built-in function ‘sqrt’
source/blender/render/intern/source/ocean.c:50: warning: implicit declaration of function ‘tanh’
source/blender/render/intern/source/ocean.c:50: warning: incompatible implicit declaration of built-in function ‘tanh’
source/blender/render/intern/source/ocean.c: At top level:
source/blender/render/intern/source/ocean.c:54: warning: ‘struct ocean’ declared inside parameter list
source/blender/render/intern/source/ocean.c:54: warning: its scope is only this definition or declaration, which is probably not what you want
source/blender/render/intern/source/ocean.c: In function ‘Ph’:
source/blender/render/intern/source/ocean.c:65: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:65: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:65: warning: incompatible implicit declaration of built-in function ‘sqrt’
source/blender/render/intern/source/ocean.c:68: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: warning: implicit declaration of function ‘exp’
source/blender/render/intern/source/ocean.c:71: warning: incompatible implicit declaration of built-in function ‘exp’
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:71: warning: implicit declaration of function ‘pow’
source/blender/render/intern/source/ocean.c:71: warning: incompatible implicit declaration of built-in function ‘pow’
source/blender/render/intern/source/ocean.c:71: warning: implicit declaration of function ‘fabs’
source/blender/render/intern/source/ocean.c:71: warning: incompatible implicit declaration of built-in function ‘fabs’
source/blender/render/intern/source/ocean.c:71: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c: At top level:
source/blender/render/intern/source/ocean.c:74: warning: ‘struct ocean’ declared inside parameter list
source/blender/render/intern/source/ocean.c: In function ‘compute_eigenstuff’:
source/blender/render/intern/source/ocean.c:78: warning: incompatible implicit declaration of built-in function ‘sqrt’
source/blender/render/intern/source/ocean.c:80: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:81: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:83: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:84: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:89: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:90: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:91: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:93: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:94: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:95: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c: At top level:
source/blender/render/intern/source/ocean.c:103: error: expected ‘)’ before ‘cmpl’
source/blender/render/intern/source/ocean.c:109: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:115: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:121: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:127: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:136: error: expected ‘)’ before ‘cmpl’
source/blender/render/intern/source/ocean.c:141: error: expected ‘)’ before ‘cmpl’
source/blender/render/intern/source/ocean.c:146: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:152: error: expected ‘)’ before ‘res’
source/blender/render/intern/source/ocean.c:160: warning: ‘struct ocean’ declared inside parameter list
source/blender/render/intern/source/ocean.c: In function ‘eval_uv’:
source/blender/render/intern/source/ocean.c:167: warning: implicit declaration of function ‘fmod’
source/blender/render/intern/source/ocean.c:167: warning: incompatible implicit declaration of built-in function ‘fmod’
source/blender/render/intern/source/ocean.c:173: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:174: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:176: warning: implicit declaration of function ‘floor’
source/blender/render/intern/source/ocean.c:176: warning: incompatible implicit declaration of built-in function ‘floor’
source/blender/render/intern/source/ocean.c:185: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:186: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:188: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:189: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:194: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:196: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:196: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:196: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:212: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:214: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:216: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:216: error: dereferencing pointer to incomplete type
.
.
.
and so on until this
.
.
.
source/blender/render/intern/source/ocean.c:663: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:718: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c:719: error: dereferencing pointer to incomplete type
source/blender/render/intern/source/ocean.c: At top level:
source/blender/render/intern/source/ocean.c:723: error: expected ‘)’ before ‘*’ token
source/blender/render/intern/source/ocean.c:737: error: expected ‘)’ before ‘*’ token
source/blender/render/intern/source/ocean.c:743: error: expected ‘)’ before ‘*’ token
scons: *** [/home/simon/svn-blender/build/linux2/source/blender/render/intern/source/ocean.o] Error 1
scons: building terminated because of errors.
In the first code I posted you can read “ocean.h: No such file or directory”
I’ve downloaded the source now and it was SVN version 16063 (your is 16059), I hope it wasn’t the cause of the errors.