Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Shadows and lighting update

Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
06-05-2008 15:48
From: Keira Wells
Other than the boundary bit, that's all possible ;)

Though..it'd be a bitch to script it all.

Yeah but it wouldn't react anywhere near as good as a dedicated system, you probably could get it up to late 20th century arcade effects :)
_____________________
Level 38 Builder [Roo Clan]

Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107)

Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107)
Vivienne Schell
Registered User
Join date: 14 Feb 2007
Posts: 85
06-06-2008 05:10
From: Khamudy Mannonen
People have been saying this for years and it's never happened


But now it HAPPENED. GTA will never run on a PC or Mac. And you know what? It is a success. And because it is, any other major developer will follow this path from now on. Consoles are WAY cheaper than any High End PC system, they are widespread enough now and they not only will become, but ARE the forthcoming replacement of the PC platform for ANY game developer with a sense for business. The advantage is obvious: Consoles are way cheaper than High End PCs (300 - 500 $ for consoles vs. 1000 and more for a PC system), no OS and driver troubles and so on.

From: Khamudy Mannonen
"I couldn't care less what is in Grand Theft 'Audio', I only care that Second Life continues to develop its potential and its use of the most modern technology."


SL can NEVER use the "latest" technology, because the paying mainstream customership of SL does not use the latest technology, and is not interested in the "latest" technology at all. I would agree if the "latest" technology developed for SL would result in better performance and better building tools as well as more stability, better communication tools and a user friendly interface developed for MAINSTREAM systems. But the latest "progress" only resulted in the opposite, and this is "cutting edge" STUPIDITY.

From: Khamudy Mannonen
"..but of the "massive social networking platforms" or whatever industry buzzword you use, it's pretty much on the 'cutting edge', even if it is clunky and out-dated looking."


It always will look comparable clunky and out-dated (GTA) if LL wants to keep the mainstream customer and expand. SL only can survive because of the mainstream customer, IN SPITE of the few muttering and demanding "latest technology" supporters. You simply cannot have both, either you go for high end gaming (but then the console will be the unavoidable way to go), or you go for the social network idea and the mainstream and low end user creativity.

From: Khamudy Mannonen
The words 'cutting edge' and obsolete will always be used around Second Life and it will always move forward, eventually requiring hardware upgrades to work. 'Tis the way of the world.


IF Linden Labs prefers to throw more "progress" which is in fact an obvious downgrade for the average SL customer on the community, this will simply go nowhere anymore pretty soon. A company that successfully targets the average mainstream PC user which releases software updates which do not match the capabilities of mainstream PC systems has deserved to drown for sheer stupidity.
Joannah Cramer
Registered User
Join date: 12 Apr 2006
Posts: 1,539
06-06-2008 06:08
From: Vivienne Schell
But now it HAPPENED. GTA will never run on a PC or Mac.

Yup, just like GTA San Andreas was never brought from previous console generation to PCs before, and games like Mass Effect and Assassin's Creed weren't brought from present generation to these same PCs. Oh, wait. They were.

Incidentally, release of PC version of GTA 4 is rumoured to be fall this year. Guess that's when the "never" is.
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
06-06-2008 06:20
SL will never compete against high end games, but damn it would be nice if we could drive a car across a sim crossing or have combat movement as smooth as Doom 1.
If its a multiplatform then it needs improving, otherwise it's doomed to be just a Barbie posing world for skirt, boot sales & chat.
_____________________
Level 38 Builder [Roo Clan]

Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107)

Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107)
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
06-06-2008 06:40
Thankoo f'r the piccies last night, Kitty! Maaaan, I so wish I could have shadows, too!
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden
Rebecca Proudhon
(TM)
Join date: 3 May 2006
Posts: 1,686
06-07-2008 13:26
From: Vivienne Schell
But now it HAPPENED. GTA will never run on a PC or Mac. And you know what?.


Likewise PC games with many possible keyboard commands, macros, extra game pads and multiple button mouse, would be seriously watered down, if ported to a console.
Kee Llewellyn
Registered User
Join date: 10 Nov 2007
Posts: 9
Well here's my experience with the latest tech...
06-07-2008 14:10
I just bought an 8-core Macintosh with an Invidia 8800 graphics card (for nearly $3,000 US) and frankly, SL sucks on it. I am mostly a photographer in SL and I can NO LONGER take hi-rez snapshots with my new "high end" mac. The computer freezes up entirely for five minutes per shot and returns to a "spin in place avi but nothing else works" crash that requires a full reboot.

I have had to resort to taking photos on my 2-year old iBook.

Has anyone else experienced this with a new Mac? And did you ever find a solution?
Tegg Bode
FrootLoop Roo Overlord
Join date: 12 Jan 2007
Posts: 5,707
06-07-2008 15:13
From: Kee Llewellyn
I just bought an 8-core Macintosh with an Invidia 8800 graphics card (for nearly $3,000 US) and frankly, SL sucks on it. I am mostly a photographer in SL and I can NO LONGER take hi-rez snapshots with my new "high end" mac. The computer freezes up entirely for five minutes per shot and returns to a "spin in place avi but nothing else works" crash that requires a full reboot.
I have had to resort to taking photos on my 2-year old iBook.
Has anyone else experienced this with a new Mac? And did you ever find a solution?

Well it's got to be the Mac bit, because 8800's on PC's have been running SL fine for 2 years now.
_____________________
Level 38 Builder [Roo Clan]

Free Waterside & Roadside Vehicle Rez Platform, Desire (88, 17, 107)

Avatars & Roadside Seaview shops and vendorspace for rent, $2.00/prim/week, Desire (175,48,107)
Kee Llewellyn
Registered User
Join date: 10 Nov 2007
Posts: 9
Mac Users Read This!!!
06-08-2008 07:05
Okay, this is odd, but it solved the Mac hi-rez snapshot screen freeze for me (your experiences may vary).

Use the normal snapshot window, rather than CTRL + (tilde). In the "what image size do you need?" section, go to Custom, then type in the dimensions you want (e.g. if your SL window is 1,667 x 1,002, like mine is on a 21" monitor, double that to 3,334 x 2,004 -- remember to double both dimensions or you'll get a distorted image.) THEN -- AND THIS IS THE REALLY, REALLY, IMPORTANT PART -- Un-check "constrain proportions."

If your experience is like mine, when you hit Refresh, your screen image will hop around five or six times almost as if it's sampling the various quadrants of the image, then settle back to your original crop. Hitting save will then save to disk without a hitch.

The hopping around thing is a bit weird, but non-damaging a far as I can tell and the save to disk takes less than a second (so maybe the hopping saves time, who knows?).

All I know is that now I can take hi-rez pics without crashing. /happy sigh

(this solution was provided by Andrew at Linden Lab support, thank you Andrew!)
Vittorio Beerbaum
Sexy.Builder Hot.Scripter
Join date: 16 May 2007
Posts: 516
06-09-2008 00:51
Some addendum:

You need to install ActivePython too, or the pre-build batch file cannot execute (latest 2.5.2.2 is fine):

http://www.activestate.com/store/download.aspx?prdGUID=b08b04e0-6872-4d9d-a722-7a0c2dea2758

From: Kitty Barnett
- * download and install Cygwin
http://www.cygwin.com/


When installing Cygwin *MAKE SURE* you install this additional components (change "skip" into the installer to install), expand "devel" and check:

bison
flex
patchutils

**** VERY IMPORTANT STEP ****: after wthe cygwin installation, you need to delete (better to rename) the provided link.exe or it would overrides the previous paths. So go to: "C:\cygwin\bin\" (if you used the default installation folder), find the file "link.exe" and rename it to: "link-cygwin.exe".

From: someone
- dropdown "Library Files": same as the above, only this time you're adding the lib folder from both the DirectX SDK and the Windows SDK.


About the "lib" folder for DirectX SDK, you need actually (latest version) to chose a subfolder there, so it is "lib/x86". This is *only* for the DirectX SDK.

From: someone
- dropdown "Executable Files": add the path to Cygwin's bin folder (ie "c:\cygwin\bin" if you installed it into the default location)


...and add to the excutable files path, Python as well: (ie: "c:\Python25" if installed the latest version in the default location)

From: someone
You'll need FMOD as well (instructions on the wiki).


Going deep into this (from the wiki):

Download & extract fmod 3.75 api for win32 **** >>>> later versions, like FMOD Ex, are incompatible <<<< so download exactly version 3.75!

http://www.fmod.org/index.php/release/version/fmodapi375win.zip

("SL-Shadows" is the folder name where u chosen to check out the project, so eventually change it with the name you used)

Copy "fmodapi375win\api\inc\fmod.h" to "SL-Shadows\libraries\include"
Copy "fmodapi375win\api\inc\fmod_errors.h" to "SL-Shadows\libraries\include"
Copy "fmodapi375win\api\lib\fmodvc.lib" to "SL-Shadows\libraries\i686-win32\lib_release" and to "linden\libraries\i686-win32\lib_debug"
Copy "fmodapi375win\api\fmod.dll" to "SL-Shadows\indra\newview"

From: someone
Build / Build Solution to start actually compiling, unless I missed something :o there shouldn't be any compile or link errors (warnings are fine, you can just ignore those).


Since someone asked to me: it does require "some time" to be built (tenth minutes on very fast pc)... so take a coffee (or 2.. or 3..).

From: someone
* copy all the DLLs from indra/newview (in addition to featuretable.txt, gpu_table.txt and SLVoice.exe, SLVoiceAgent.exe and win_crash_logger.exe)


...where "win_crash_logger.exe" is from: "SL-Shadows\indra\win_crash_logger\"

*** AND LAST BUT NOT LEAST *** U NEED TO ACTIVATE EM! :)

Open your "new" client and:

- Make sure atmospheric shaders and avatar hardware skinning are enabled (Graphic Options).
- SET the debug setting (Advanced > Debug Settings...) RenderDeferred to FALSE
- Set RenderUseFBO to TRUE
- Set back the RenderDeferred to TRUE


The guide by Kitty (tnx alot for your time!) is pretty accurate, it means that it actually works (just include this addendum), so if something goes wrong, go back and read it again, because it must be your fail. :)
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
06-09-2008 04:44
From: Vittorio Beerbaum
You need to install ActivePython too, or the pre-build batch file cannot execute
You can skip the pre-build Python batch file actually :).

From: someone
**** VERY IMPORTANT STEP ****: after wthe cygwin installation, you need to delete (better to rename) the provided link.exe or it would overrides the previous paths. So go to: "C:\cygwin\bin\" (if you used the default installation folder), find the file "link.exe" and rename it to: "link-cygwin.exe".
If Cygwin's link is conflicting with VC's link then you didn't add the path to cygwin at the bottom :).

From: someone
About the "lib" folder for DirectX SDK, you need actually (latest version) to chose a subfolder there, so it is "lib/x86". This is *only* for the DirectX SDK.
I did miss that one :o.
Chaos Markstein
Registered User
Join date: 22 Nov 2007
Posts: 235
06-09-2008 04:46
Vittorio Beerbaum could u possibly compile and upload (or send me) the shadow draft viewer

ill give u some L$ if u do, i really want 2 test it but its not compiling my end (proberly my shitty pc)
Vittorio Beerbaum
Sexy.Builder Hot.Scripter
Join date: 16 May 2007
Posts: 516
06-09-2008 08:54
From: Chaos Markstein
Vittorio Beerbaum could u possibly compile and upload (or send me) the shadow draft viewer

ill give u some L$ if u do, i really want 2 test it but its not compiling my end (proberly my shitty pc)


L$? :O i don't need it. :) ...i can upload the .exe, im not sure about the whole rest, i'm going to ask a Linden if i may upload the whole pack somewhere so anyway may download it.
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
06-09-2008 09:02
From: Vittorio Beerbaum
L$? :O i don't need it. :) ...i can upload the .exe, im not sure about the whole rest, i'm going to ask a Linden if i may upload the whole pack somewhere so anyway may download it.


Ask them if they'll let you upload it to LL's blog. You'll probably need to be Lindenized in the process and have to read 150 comments on why you suck so hard. But what the heck..
Vittorio Beerbaum
Sexy.Builder Hot.Scripter
Join date: 16 May 2007
Posts: 516
06-09-2008 09:08
From: 2k Suisei
Ask them if they'll let you upload it to LL's blog. You'll probably need to be Lindenized in the process and have to read 150 comments on why you suck so hard. But what the heck..


ahahahaha.. i won't go for that option sry. :D

In the meantime:

http://www.youtube.com/watch?v=GBWGywh690g&ftm18
2k Suisei
Registered User
Join date: 9 Nov 2006
Posts: 2,150
06-09-2008 09:23
From: Vittorio Beerbaum
ahahahaha.. i won't go for that option sry. :D

In the meantime:

http://www.youtube.com/watch?v=GBWGywh690g&ftm18




Ooooh! I sure do like a bit of Muse!!

The shadows looked great too!. I can't help but wonder if LL will give us an option to have the Windlight clouds also cast shadows. It'll be just like England in the summer!.

"Oh no, another bloody miserable cloudy day again!.. Put kettle on, love."
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
06-09-2008 09:37
From: Vittorio Beerbaum
i'm going to ask a Linden if i may upload the whole pack somewhere so anyway may download it.
http://secondlifegrid.net/programs/licensing/viewerlicensing
From: someone
However, please note that all of Linden Lab's trademarks, including but not limited to the Second Life brand name and Second Life Eye-in-Hand logo, are subject to our Trademark Policy.

Note that some components necessary for use with the Second Life viewer are licensed from third parties under different licenses. The license for those components is clearly marked inside the distribution of those components. Some components may require payment of royalties or have other restrictions associated with copying, modification or redistribution. Please consult the license for all components when licensing the software.
Asking any random Linden who likely won't be involved with licensing isn't going to get you a definitive answer and could do more harm than good if they don't realize the full extent of it.

It would be safest to stick to the "here's the .exe and combine everything the same way as you would after a build" method which seems to work for all custom viewers (which leaves the question on whether using the SL icon for the .exe is legitimate use of their trademark or not so you're probably better of using your own there as well).
Vittorio Beerbaum
Sexy.Builder Hot.Scripter
Join date: 16 May 2007
Posts: 516
06-09-2008 12:35
Ok i've managed to arrange a pack without touching the third party libs, you can actually use a RC9 and drop this into it:

http://www.megafileupload.com/en/file/68953/SecondLifeShadows-zip.html
alternate download link: http://ifile.it/jrpxm9l

Notice: it seems there must a problem with the sets (prolly i've left something behind...) it's a pain to figure what's really changes by the RC9, anyway it actually works (problems appears when u go far with the cam)... the second option is to compile it yourself, since i can't redistribute the whole pack! :)
Chaos Markstein
Registered User
Join date: 22 Nov 2007
Posts: 235
06-09-2008 13:50
From: Vittorio Beerbaum
Ok i've managed to arrange a pack without touching the third party libs, you can actually use a RC9 and drop this into it:

http://www.megafileupload.com/en/file/68953/SecondLifeShadows-zip.html
alternate download link: http://ifile.it/jrpxm9l

Notice: it seems there must a problem with the sets (prolly i've left something behind...) it's a pain to figure what's really changes by the RC9, anyway it actually works (problems appears when u go far with the cam)... the second option is to compile it yourself, since i can't redistribute the whole pack! :)


hey thanx v much, this will save allot of people allot of fustration (and keyboards)

and more importently IT WORKS!!!! no probs, and performs gr8

infact the normal RC doesnt work on my PC, but your exe works fine

FYI if it looks like its hung at log in just leave it for a short while and it will correct itself

pps: dont forget the debug settings!
Chaos Markstein
Registered User
Join date: 22 Nov 2007
Posts: 235
06-09-2008 15:03
After carefull analysis and a couple of tests with alpha textures and lights/transparencies

Bugs:

*Shadow just cuts off in the distance (shadow draw distance), why not make it fade as it gets further away?

*light -still- shines thru stuff

*Shadows could be a bit more prominant during day/night cycles (like in the preset midday4)

*Maybe hard edged shadows might look more acurate and have a speed increase

*Shadows can trip out a bit sometimes in some areas (i am running a GeForce 8800GTS)

*Its slow in busy built up areas, optimize the code

other than that they have got it right for once
Vittorio Beerbaum
Sexy.Builder Hot.Scripter
Join date: 16 May 2007
Posts: 516
06-10-2008 00:23
From: Chaos Markstein
After carefull analysis and a couple of tests with alpha textures and lights/transparencies

Bugs:

*Shadow just cuts off in the distance (shadow draw distance), why not make it fade as it gets further away?


It seems, this has been introduced during MY "packing", and it's the problem i said above (if you read carefull), they actually works if you compile a genuine client. I don't have time to invest to prep a genuine pack, especially if this is going to don't work in the nearly future. So live with it. ;)

From: someone
*Its slow in busy built up areas, optimize the code


This is the reason why they didn't released a official (beta) client. It's because the code is not even in beta, as the name says: it is an experimenti in its early stage, it's simply doesn't exists for the "mass". So you don't have to blame. :)
Laurent Bechir
Registered User
Join date: 13 Apr 2007
Posts: 7
06-14-2008 12:44
Hello,

I've tried to build shadow-draft on my Mac and for that I have downloaded besides svn shadow-draft branch the last version of tha Mac build. The compile went fine, but I don't see special shadows even after applying the debug settings. My Mac is a MacBook pro with Ati Radeon X1600. Is there a way to do something ? Perhaps download newer libs than the ones of RC10 ? but where ?

Thank you
Kitty Barnett
Registered User
Join date: 10 May 2006
Posts: 5,586
06-14-2008 13:39
From: someone
It's only been tested on GeForce 8 cards in Windows (Vista and XP), but I don't see why it shouldn't work in linux. I'd be amazed if it works in OSX since it relies on branching in the shader and a large instruction count limit.
You have an ATI card and are on a Mac so it sounds like you're out of luck on both counts :(.
Marianne McCann
Feted Inner Child
Join date: 23 Feb 2006
Posts: 7,145
06-14-2008 14:05
From: Laurent Bechir
Hello,

I've tried to build shadow-draft on my Mac and for that I have downloaded besides svn shadow-draft branch the last version of tha Mac build. The compile went fine, but I don't see special shadows even after applying the debug settings. My Mac is a MacBook pro with Ati Radeon X1600. Is there a way to do something ? Perhaps download newer libs than the ones of RC10 ? but where ?

Thank you


Macs and ATI cards are not supported by it at all.

Mari
_____________________


"There's nothing objectionable nor illegal in having a child-like avatar in itself and we must assume innocence until proof of the contrary." - Lewis PR Linden
"If you find children offensive, you're gonna have trouble in this world :)" - Prospero Linden
Laurent Bechir
Registered User
Join date: 13 Apr 2007
Posts: 7
06-14-2008 14:29
From: Marianne McCann
Macs and ATI cards are not supported by it at all.

Mari


sniff sniff :'-(
1 2 3 4 5 6 7 8 9