'Stencil shadow' thread 2
Blitz3D Forums/Blitz3D Programming/'Stencil shadow' thread 2
| ||
hello! the first stencil shw thread was allready full. so please write here now! previous shadow thread: http://www.blitzbasic.com/Community/posts.php?topic=62378 thank you. |
| ||
Hi All New Update for "Core" to be create volume!!!! file: ShadowVolumes.bb 1 modify statistic time for "Volume time" file: SampleFunctions.bb Bye |
| ||
What happens to the stencil shadows if you have more than one light in your scene? Does it cope okay or do the stencil shadows rely on a single light source? |
| ||
when you add a seccond light, he deletes the first light. of course it is possible to do multilights! but the only problem is, that the parts of the scene, where the both shadows should overlap, are not overlapping! |
| ||
I don't think the lack of overlapping is too bad. For example, if you had two connecting rooms (both lit by a small bulb) you wouldn't mind that there wasn't a darker area in the connecting doorway or corridor. Clever asset layout would probably be recommended though. ^^ |
| ||
This condizion I have idea bsp for interaction ambient, the light interaction only object present in the specyfic zone. ciao !! bye |
| ||
daredevil: when you have updated, please send them to me and dont make them public. i wanna make a release soon. and not every day an update. this confuses only!!! |
| ||
!!! SPEED !!! Optimizzation for core 20% Devils Child pleace test all inport and export shadow are can new update for speed http://digidownload.libero.it/enzo_light/DSS_Release_0.7E.rar Bye |
| ||
daredevil: i said, I am oranizing the releases!!! ARGH |
| ||
Ok!! |
| ||
grat news guys!! ENBM is now supported as well! see: ![]() |
| ||
A Gaetano Ho visto che tu sei italiano e quindi scrivo in italiano (prima e l'ultima volta, inglese e l'ufficiale qui) ma in italiano posso spiegare meglio che cosa penso di stencil shawow system. E troppo buono quello che avete fatto. Forse il massimo in Blitz3D ma quasi sono sicuro che non si puo fare sistema di ombra rapida, veramente usabile in gioco. Anchi'io sto facendo un giocio con Blitz ed anch'io vorrei bell ombra ma secondo me questo sistema sara sufficente per un demo scene con 2-3 lowpoly modelli ma non sara sufficente in gioco vero, purtroppo. Se per caso io sbaglio e tu fai qualcosa bella io saro molto allegro e contento ma ho paura di no. L'ultima versione fa 15-20 fps con 2 lowpoli modelli sul mio PC (una media configurazione ) senza collision detect, senza AI, senza grosso map, senza scprit engine, senza (quasi) tutti. Questo la mia opinione niente di piu, scusi ma non ti nascondo, ho scritto quello che ho pensato. Tanti auguri Ciao Giorgio |
| ||
what the hell are you talking man??? talk english please... |
| ||
To Gaetano I have inasmuch as you six Italian and therefore I before write in Italian (and the last time, English and the official here) but in Italian I can explain better than what task than stencil shawow system. And too much good the one which you have made. Perhaps the maximum in Blitz3D but nearly is sure that puo not to make system of fast shadow, truly usable in game. Anchi' I am making a giocio with Raid and anch' I would want Bell second shadow but me this sufficente system sara for demo scenes with 2-3 lowpoly models but not sara sufficente in true game, unfortunately. If for case I mistake and you make something beautiful saro much allegro and content I but I have fear not. The last version makes 15-20 fps with 2 lowpoli models on my PC (one medium configuration) without collision detect, To i, large map, scprit engine, (nearly) all. This my opinion nothing of piu, excuses but I do not hide to you, I have written what I have thought. Many auguries Hello George |
| ||
Above me a traslate machine result. In english: Your shadow system is very good, really nice work but I think Blitz3D is not able, proper to make really good very fast stencil shadow what is usable in a big project. Maybe a professional C++ made dll is usable. I was buy Adrej's shadow system (with dll writed in c++) but very weak in game, with big map with more full animated models with mor light. I would like to see and use a good directx based, hardwer supported stencil shadow system. I need it. I hope you can make this but I don't believe. Why does not make Mark Silby this kind of shadow for Blitz3D? Without help of Mark will be very hard to realization this. This is my opinion, nothing else. I whis good work. |
| ||
The only thing I really understood... "Why does not make Mark Silby this kind of shadow for Blitz3D?" Good question, hehehehe. |
| ||
As far as i know he does, it was seen in screenshots of Max3D work in progress, together with the physics engine etc., half a year ago or so. It's probably still in his Worklogs. |
| ||
Yes, for BlitzMax3D but the old Blitz3D is not supported. (little bugfix but nothing else) |
| ||
i just tried out this shadow system. i get this message "Graphic card does not support stencil buffers." my card is ati radeon ve. just thought i'd mention it. i can run the "swift shadow system" so i thought since this looks exactly the same, it would run too. wrong! :) |
| ||
desable the line "Runtimeerror "Graphic card..." and test it. if it works, ok. otherwise your graphic card is to old... the "swifty demo" looks like the swift shadow system, but it is using MY system! btw: this shadow system works differentey of sswifts one! stencil shadows (+) fast, robust, self shadowing (-) angular, problems with animations, needs graphic cards > gforce2, very complex! texture shadow system (+) smooth, animations are working without extra coding, no high end graphic card required (-) slow, no self shadowing, easier to make |
| ||
well yes it runs, but there are no shadows! guess i need to upgrade. |
| ||
update graphic card drivers! reboot pc and try it again... when there are no shadows, press key "2" to activate shadow mode, if you have unfortiunaly pressed key "1" for no-sahdow-mode ;) cya |
| ||
"easier to make" I beg to differ! Stencil shadows do not require complicated projections and polygon clipping! You just extrude a volume along a line etending from the light source! Much simpler math! :-) |
| ||
great news guys!!! the camera can now get inside the shadow volumes as well :) but the only problem is that the rendering of the shadows is very costly since now! see: ![]() i will release the next version in a week :) cya! |
| ||
hi Mike0101 my name Vincenzo Caldarulo, Gaetano in may friend good friend :) The shadow system ops!! DSS is a system for game non only demo, the optimization code are a process for all function or core. blitz have a limitation for pointer structure this is a problem, but the beautiful one is to exceed the limits. I'm programmer C++ ex programmer professional the gamer :) ------------------------------------------------------------ for Devils Child Good work! send me the version ;) I believe there am of the BUG in the tails, to level of management. and creed of being able to resolve them but if job on this my version lì we will increase. Bye |
| ||
Scusi per il nome, da oggi Vincenzo. Va bene? A working stencil shadow system is my dream. I wrote my doubt only but I hope you will clear my doubt. thnx |
| ||
==================== ===== DSS 0.9 Beta ===== ==================== As i promissed, i will release the 0.9beta now! here you go guys! http://xware.chat-blitz.de/scripts/upload/DSS_Release_0.9b.zip http://xware.chat-blitz.de/scripts/upload/DSS_Release_0.9b_EXE_Only.zip This is almost final. there won't be great changes. and don't forgett to update the userlibs! have fun :) of course you can use this in your game for free. but don't forget the credits ;) ![]() cya! |
| ||
Orca Leppa! Wow! many thanks!!! |
| ||
best work!!! mongia2 |
| ||
thx guys :) hope you find some use in it! |
| ||
All the shadow demo's say my card does not support bumpmapping but I'm almost certain is does?! Sure, a gfx440mx is old ( which I'm keeping for compatibility ) but so is bumpmapping! It supports stencils fine. Any ideas what's going on? |
| ||
first at all, update your graph. card drivers and reboot :) if this doesnt work, just disable the "runtimeerror" command(but not the whole line)! hope it helps... i got this problem from 3 users and i dont know why... perhabs tom knows why, he made the dll :) cya |
| ||
I try launch bb code but return thi error ... function "bb_getcamerangestart" not found |
| ||
@ Devils ... I can't imagine updating my drivers will make a bit of difference as they're pretty up to date anyway. Any other bumpmapping and stencil systems I've tried work fine on my system, including previous version of yours and Tom's. I really wanted to check the speed of the system on this rig before I started playing around with it. Looks sweet mind you. Stevie |
| ||
@sideextreme: have you put the userlib-decls-files into your userlib dir? @devils child: greate work! i've been playing around with it in order to enable soft self shadowing and colored lights casting not colored shadows... i thought it would work, if i didn't draw the shadow plane but instead drew the whole scene with disabled lights (of course still using the stencil). and it worked (though the selfshadowing is often not really soft.. ill have to do some more work on this ^^). but somehow i've messed up something with the zbuffer. it works and the shadows as well as the scene are drawn quite properly, but some regions aren't zsortet the way they should. any suggestions? you can see that in the center there are some zglitches.. unfortunately im not too familiar with all these directx render modes, that you're using. any ideas? |
| ||
in userlibs folder i see 3 file -Devilshadowsystem.decls -Devilshadowsystem.b3d -Devilshadowsistem_DX7.dll I need some more file? |
| ||
sideExtreme: you need to update the dlls in your userlib folder. delete my dlls in your blitz userlib dir and put in the new ones. inarie: i am trying to make soft self shadowing, but i had no success yet. but i will try harder on it :) also, i am very happy with our current result! cya |
| ||
your code is very very! good! thanks for shadows b3d! there are some bug in create mesh.shw in my model thanks |
| ||
hi Devils Child pleace enable line 3d for debug silouette ;) whats function contain "DevilShadowSystem_B3D.dll" if is code c++ pleace post a my email the code for optimization. Spot: DDS... the new style shodow Bye ;) |
| ||
devilshadowsystem_b3d.dll is a dll which has functions like GetEntityRed() or GetCamRangeStart() also there is no need to optimaze the dlls. and i dont even have any c++ source code! @ianrie: i don't know what you are doing there. please send me the source of that, and i will implement soft self shadowing :) |
| ||
I study the system for optimize speed silhouette. step by step go to piramid Bye |
| ||
Wait ... wait .. wait The my optimization what is ? a new optimizzation? is very very low speed, ok ... ok ... I optimized all |
| ||
davedevil: some thing left to do for you is to update your signature! Software-Renderer Shadow Volume: www.blitzbasic.com/Community/posts.php?topic=58767 just put there the link to my worklog!! |
| ||
Hm. Please add multipass buffer (hardware isnt possible with dx7) and so are smooth shadows possible |
| ||
no, i tried this a certain time ago and it is not possible. also it would bu such a slowdown!! |
| ||
i checked out soft self shadowing. inarie gave me the hot tip for rendering the ambient noise only instead of the whoule scene in dark! so i got soft self shadows. but somehow they are not working. see the lila pic above^^ tom: have you got any idea?? edit: here is a screenshot ![]() but there are still some problems! |
| ||
I can't use the 0.9b demos on my Intel Extreme laptop because it moans about the hard not being able to do bump mapping, even on the demos without it. |
| ||
he is initialzing bump mapping on the beginning of the program in the case of you would use it at the and... try to disable the runtimeerror command and tell me what happens. if the dx7_... commands will cause MAV, your graphics cars is to old! cya |
| ||
I devil i have a question for you: what is a function for copy list vertex shadow? (ex function copy vertex) what's name have? you copy all vertex preview create shadow pleace this information are muth more important for result the optimizzation. Ciao |
| ||
talk english, and then i will explain you |
| ||
classic. |
| ||
I have resolved the question the new system is not optimizzation I return old version excused for the my English not corrected bye ;) |
| ||
This should work fine with JV-ODE wrapper, right? Great job :D |
| ||
yes, of corse :) the executable to the screenshot below is in the new 0.9beta delivered with. ![]() |
| ||
hello everybody! if you want to work with this shadow system easier, here is my new user interface: these are functions which makes it easier to habdle the shadow system instad of c = createcube() setshadowmesh c you can now use: c = createshadowcube() cya! |
| ||
Does the 0.9b system include the new soft self shadow system? I have an idea for a small project that could use this shadow system but I want to be sure the self shadowing problem isn't present. Keep up the good work guys! ^_^ |
| ||
Great stuff! How's the water coming along? |
| ||
thx :) dock: the soft self shadowing isn't improved yet. and also i don't know if and when it will. but belive me, this is the best shadow system you can get for free! markd: the water sys is alrealy finished, but i have some problems, when setting a camera's viewport. it looks like one of the old stencil demos by tom on ATIs... cu |
| ||
Hi Devil I have optimized DSS version 7.b obtain 260% over limit the your new version .9x :D bye |
| ||
send me the new version! edit: but DON'T publish it now! |
| ||
please send it to me, daredevil! |
| ||
i got an idea: the "Blitz3D C++ geometry code" threas is standing above all other threads. also the jv-ode and the tokamak thread are standing above all others. can any moderator make this shdaow thread stand above, please? |
| ||
I have not understood you can write easier for me Bye ( Ciao ) |
| ||
You mean make it a sticky? Completely agree. |
| ||
he said: ha detto gli trasmette la nuova versione e non la pubblica he also said: inoltre ha detto rendere a questo filetto un filetto appiccicoso |
| ||
Translation mode on Spediscigli via email la nuova versione, e pensa che sia utile rendere questo thread 'fisso' come "Blitz3D C++ geometry code" e altri... |
| ||
hey everybody! i have just improved soft self shadowing (thx to inaries help) ![]() and now, let's make this thread and the follwoing shadow threads sticky!! |
| ||
can't wait to get the new version... |
| ||
Yeah, this really is great :) |
| ||
i will release the final version in approx. a month. the version will be 1.0 but maybee there will come a 1.1 version if we optimaze it. cu |
| ||
tom, i have got a querstion to you: you are the develpoer of the dx7 dll. and to enable soft shadows. we need to blur the stencil mask. with a 1 bit stencil buffer it is not possible. but with 8 bits it is. is it possible to do that? |
| ||
This system is very-very good work but the animated b3d part has many bugs This is (would be) the most important part of the shadowsystem because b3d is the native file of Blitz3d and this is a shadowsystem dedicated to Blitz3D. I can't waiting the new bugfree release, I need it:) |
| ||
well, i guess, there won't be any support for b3d animations at all :/ i restricted the b3d animations from the new release, because it is to buggy and i can't fix it! i will release the final one next week :) |
| ||
~CLOSED~ please go on here: http://www.blitzbasic.com/Community/posts.php?topic=63491 @moderators: close this thread please! |