Nice pictures, guardian. I especially like the one with the two unplugged ones.
_________________
halo , oct ane
N.B.: I tend to talk out of my ass. Do not take it too seriously.
geo wrote:duck wrote: Alright, I could put some more work into it and give you insanely high resolution images if you really want to do something with it other than like a forum avatar or something
wow!! that would be great!! ok ill give you what display i will use so that you can consider these parameters
i use the SHARP TFT MemLCD, its just 1bit depth, its like e-paper but has a better resolution
i just use this to have low power consumption compared to colored TFT or OLED
really thanks duck! as soon as i can finish prototype, will upload a video
geo wrote: hi duck, already prepare the Flash ROM for all the images, almost done. But when I try to use the frames of your latest gif, when i use paint, it will automatically set the background to black, and when i convert the image to monochrome, the rendered cube is not so clear. so i guess i need to ask your help again with dithering? can you please help me make one with only 1bit deep color?
geo wrote: ah actually if you can send me the frames in monochrome bitmap
geo wrote: btw duck, as soon i get one done, will do my best to give you one
geo wrote: so i guess the best effect is the sgicube_none, what you think?
btw don't get discouraged on the not so smooth display panel, that is the touchpanel with plastic cover on it hehe coz this is my development board for one of my projects here
hamei wrote:duck wrote: ... my ImageMagick doesn't support ordered bayer dithering ...
Don't know if it supports layered dithering either but duck - try Graphics Magick. Much better operation over mutiple cpus, faster, more stable, better guys running it. Bob Friesenhan (sp ?) knows his stuff, is very responsive to questions or complaints. It compiles with MIPSPro no problem.
geo wrote:hi duck! hmm i think so coz im testing this here in our office. but if so, how come if i run this same application under cygwin, solaris, ubuntu, and winxp on the same PC, they all are fine, so maybe there something about configuration needed on freebsd? yes i read about extracting broadcast address and i tried that option, but this will limit me compared of using 255.255.255.255duck wrote: Is there a router inbetween? 255.255.255.255 is link-local and will not be passed through routers. You'll need to extract the network broadcast address if you want to broadcast to an amorphous network.
geo wrote:wow! i think this is perfect match on my case, thanks for this great find! but hmm as mentioned inside, he resolve it by using the networks broadcast address instead of 255.255.255.255, in which i already tried and will affect the area of my broadcasting. unlike using 255.255.255.255, this can still go to other subnets. i wonder how windows handled this...duck wrote: Googled around for a bit and found this tidbit... still extant perhaps? http://lists.freebsd.org/pipermail/free ... 08626.html
oh! wait! i read you link again and now i realize i missed something on his resolution, its the MAC address! so i guess i need to hard code so that when i broadcast to 255.255.255.255, i will send it to MAC address ff:ff:ff:ff:ff:ff, right?
geeez if this works, i owe you much duck! btw, the rotating cube logo still on queue for you
geo wrote:oh! ok thanks for confirming, then not all BSD have this flaw then hehe time to download NetBSD and OpenBSD and give them a try tomorrow to see which is which for my BSD makefileduck wrote: I just had a friend ping 255.255.255.255 on his FreeBSD 9.0-RELEASE, it seems to have the same flaw. My NetBSD system does not. (obviously, netbsd rocks
hmm im not sure what you mean here but what i thought at first is i just need to fill some items on the struct sockaddr_in that will contain the MAC address? but when checking the structure it doesn't have, my wrong assumption aboutduck wrote: I guess sending to the right MAC will work, but you'll be assembling raw packets by then...so how does the encapsulation done? btw, no problem with assembling raw packets here, i guess already done this insideencapsulates the packet using the MAC address
hmm so this indeed a flaw.. why did they ignore this? tsk3.. anyway thanks for this infos duck really help, so i guess will try the encapsulation of MAC just for FreeBSD then, will see tomorrowduck wrote: More on this, an official, ignored, bug report: http://lists.freebsd.org/pipermail/free ... 19201.html
Code: Select all
If the IP_ONESBCAST option is enabled on a SOCK_DGRAM or a SOCK_RAW
socket, the destination address of outgoing broadcast datagrams on that
socket will be forced to the undirected broadcast address,
INADDR_BROADCAST, before transmission. This is in contrast to the
default behavior of the system, which is to transmit undirected broad-
casts via the first network interface with the IFF_BROADCAST flag set.
This option allows applications to choose which interface is used to
transmit an undirected broadcast datagram. For example, the following
code would force an undirected broadcast to be transmitted via the inter-
face configured with the broadcast address 192.168.2.255:
char msg[512];
struct sockaddr_in sin;
u_char onesbcast = 1; /* 0 = disable (default), 1 = enable */
setsockopt(s, IPPROTO_IP, IP_ONESBCAST, &onesbcast, sizeof(onesbcast));
sin.sin_addr.s_addr = inet_addr("192.168.2.255");
sin.sin_port = htons(1234);
sendto(s, msg, sizeof(msg), 0, &sin, sizeof(sin));
It is the application's responsibility to set the IP_TTL option to an
appropriate value in order to prevent broadcast storms. The application
must have sufficient credentials to set the SO_BROADCAST socket level
option, otherwise the IP_ONESBCAST option has no effect.
vishnu wrote:Wow, that's an amazing pic!duck wrote: Yes, I got a new toy, a Nodal Ninja 3 MK II. I like to do this sort of thing (tmp url, may go away)
Pontus wrote: Looking good jan-jaap. It's coming together.
Me, I'm at this stage: <snip>
sgtprobe wrote:duck wrote: Fly me over and I'll take you a 360x180 degree panorama you can stick in a VR player (Yes, I got a new toy, a Nodal Ninja 3 MK II. I like to do this sort of thing (tmp url, may go away)
That's just awesome.
Show us more, please
/Jonas