A new service from [Yahoo] called [Flickr] offers a free intuitive way to manage and [publish your photos].
Category: Code
Sector 13 — Cg Shaders
Well I got a promotion as a ‘Graphics developer’. That is in addition to already being a ‘Game developer’ for Reactor Interactive since June. I gotta say this stuff is pretty fun. Well back to experimenting with shaders.
Transgaming on Mandriva
This is all there is to installing Transgaming on Mandriva:
[tgraupmann@athelo ~]$ cd Desktop/
[tgraupmann@athelo Desktop]$ ls *.rpm
cedega-4.4.3-1.i386.rpm Point2Play-2.0.3-1.i386.rpm
[tgraupmann@athelo Desktop]$ su
Password:
[root@athelo Desktop]# urpmi Point2Play-2.0.3-1.i386.rpm
installing Point2Play-2.0.3-1.i386.rpm
Preparing... #############################################
1/1: Point2Play #############################################
[root@athelo Desktop]# urpmi cedega-4.4.3-1.i386.rpm
installing cedega-4.4.3-1.i386.rpm
Preparing... #############################################
1/1: cedega #############################################
[root@athelo Desktop]# exit
Ogre on Linux (Mandriva)
To get [Ogre for Linux] running on [Mandriva], the first thing to do is run the [Easy URPMI] script.
You’ll need [zziplib]
urpmi zziplib0-devel
You’ll need [libsdl]
urpmi SDL-devel
You’ll need [Devil]
urpmi libdevil1-devel
You’ll need [Cg_Toolkit]
wget http://download.nvidia.com/developer/cg/Cg_1.4/Cg-1.4.0-4.i386.rpm
urpmi Cg-1.4.0-4.i386.rpm
You’ll need [GTK+]
urpmi gtk+-devel
wget ftp://ftp.gtk.org/pub/gtk/v2.8/atk-1.10.1.tar.gz
wget ftp://ftp.gtk.org/pub/gtk/v2.8/glib-2.8.3.tar.gz
urpmi libcairo2-devel
wget ftp://ftp.gtk.org/pub/gtk/v2.8/pango-1.10.1.tar.gz
wget ftp://ftp.gtk.org/pub/gtk/v2.8/gtk+-2.8.6.tar.gz
You’ll need [Mesa3d]
urpmi libMesaglut3-devel
You’ll need [Crazy Eddie (CeGUI)]
[CeGUI Source]
* * * * * COMPILING OGRE * * * * *
The configure script [logged this output]:
./configure --prefix=/usr
The ‘make ‘ script [logged this output].
The ‘make install’ script [logged this output].
The binaries appear here:
ogrenew/Samples/Common/bin/
Keeping Remote Desktop from auto logging out
Well I had to work this weekend, but luckily I can remote desktop into work. The problem is the network policies. If you leave you machine unattended let’s say with outlook open, it will auto log you out after 2 minutes. But as long as the mouse is moving or some action is happening then everything is fine.
So I decided to use the ‘think out the box’ guy and crank up the fan to keep him going while he pushes keys on the keyboard or taps the mouse.
Unfortunately, he couldn’t get sufficent velocity to cause any action. And I think the tap mechanism is heat sensitive.
So I tried the optical mouse. The fan does cause the guy to move. The optical mouse does detect the movement, but not enough to move the mouse cursor.
Oh well maybe if I can get a 35/45 music turn table and set the optical mouse on that. Maybe the mouse will go in circles. Stay tuned…
Ahhh… Found a working solution. By placing a battery on the up arrow of the keyboard with plyers for weight, this successfully leaves the remote desktop session open.
Moon
I took this shot of the moon with a [Olympus Stylus 800] digital camera looking thru a [Tasco Luminova] refraction telescope (40-114675, D=114mm, F=900mm, Coated Optics) with a 20mm lens. The fog had just started to roll in, blurring the moon and creating a small halo.
HLSL Shaders in Ogre
The HLSL shaders that you create with Render Monkey are interchangible with Nvidia Cg shaders. The code is pretty much identical. All you need to do is take your HLSL vertex shader and pixel shader code and put it in a Cg text file. Then you reference the Cg file from an Ogre material file. The Ogre [Manual] explains how to pass custom variables into your shaders. Or you can link directly to your HLSL shader. The benefit of using Cg is that it will work on more than just Windows. Although HLSL will work on the XBox 360. But I don’t that’s true for Nintendo or Sony products.
Cg Toolkit
[NVidia] also has a [Cg Toolkit] similar to Render Monkey.
Render Monkey
I’m really getting into ATI’s [Render Monkey] 1.6. This program makes it really easy to create and edit HLSL shaders. And it’s free!
Mandriva 2006
[Mandriva Linux 2006] came out a few days ago. After a nice [bittorrent] of downloading, I installed the newest version. The installer looks better than ever. I prefer Gnome as my window manager. Here is a peek at the new version.
“Don’t forget urpmi”
3) Type this in a console as root
urpmi.addmedia plf-free ftp://ftp.planetmirror.com/pub/plf/mandrake/free/2006.0 with hdlist.cz
urpmi.addmedia --update updates ftp://ftp.caliu.info/pub/distribucions/mandrake/official/updates/2006.0/main_updates/ with media_info/hdlist.cz
urpmi.addmedia contrib ftp://mandrake.contactel.cz/Mandrakelinux/official/2006.0/i586/media/contrib with media_info/hdlist.cz
urpmi.addmedia jpackage ftp://mandrake.contactel.cz/Mandrakelinux/official/2006.0/i586/media/jpackage with media_info/hdlist.cz
urpmi.addmedia main ftp://mandrake.contactel.cz/Mandrakelinux/official/2006.0/i586/media/main with media_info/hdlist.cz
Autodesk acquires Alias
This is pretty big. Autodesk maker of 3d Studio Max acquired Alias maker of Maya. Here is the [press release]…
Race to Linux
The [CodeProject] group is sponsoring a [Race to Linux] event. Where the contest is to port Windows Apps to Linux. The winner gets an XBox 360.
Free Online Books
Black and White 2
Good news folks! [Lionhead Studios] is releasing [Black and White 2] on October 7, 2005. Stay tuned.
Modo 201 – Q4
[Luxology]‘s [Modo 201] will also be coming out in the fourth quarter of 2005. Some artists are already getting sneak peaks and posting [reviews] of Modo 201.
The Roadmap to ZBrush 2.5
[Pixologic] recently released the timeline for releasing the newest upgrades to ZBrush. View [this thread] for details.
Non-repeating fractal
I noticed that the non-repeating source in the archives went bad. So I re-updated the source. Here’s a [new link].
Rigging
Just came across a [good tutorial] illustrating the steps involved for setting up a robotic rig.
Library Development : CEGUI Version 0.4.0 is Released
The 0.4.0 release of Crazy Eddie’s GUI System “Falagard” came out today. Go to the download section now! See [site] for details.
Ogre Mesh XML Scientific Notation
I noticed that Ogre wasn’t handling a mesh very well that used scientific notation. So I wrote this little perl script to remove the notation. It just converts any scifi notation to zero for now. You’ll need Perl to run the script.
————- ogre_remove_scifi.pl ———–
use strict;
my ($arg1) = shift;
print "Processing… $arg1\n";
open(FILE, "<$arg1")
or die("Unable to open $arg1");
open(FILE2, ">$arg1.xml")
or die("Unable to open $arg1.xml");
while(<FILE>)
{
$_ =~ s/"[^"]*e-[\d][^"]*"/"0"/g;
print FILE2 $_;
}
close FILE2;
close FILE;
print "Done. $arg1.xml [ OK ]\n";
exit;
CEGUI doing Multiple ImageSets
Now that I’m getting the hang of using Ogre and CEGUI, I’ve posted a little sample app that shows how to have a layout that uses multiple image sets. Get the source [here]. Includes all the project files and depencies you need to compile with Ogre and Crazy Eddie. 30 MEG!!!
Perl HTTP:Daemon
Perl offers a simple HTTP server that you can customize with only a few lines of code. Try the [HTTP::Daemon] , [LWP::UserAgent], and [HTTP:Request] modules.
Modo 201
I was watching the [Modo Conference] and I was impressed by the procedural texturing in the video which will be available as a Photoshop filter. This procedural creates a unique image from two seed images with the option to be tilable or not. Cool! The speaker references [allegorithmic.com].
Luxology Modo
Just created my first soccor ball in Modo.
Where are you?
Where have I been lately? Outside of my day job, I’ve been working on these three titles.
[Control Monger]
[Free World]
[Sector13]