How to draw cylinder using openGL


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu How to draw cylinder using openGL
# 1  
Old 11-12-2009
Error How to draw cylinder using openGL

Hi Sir,

i am new to openGL, i want to know how to draw cylinder using openGL code in C or C++..
And i have to insert bitmap images on cylinder..
How to do this .. please guide me ...

Thanking You in advance ..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Sector,cylinder,track information

Hi all, I am trying to get below information from linux machine, could you please assist me to get this information using a command(s) or small script: SectorsPerTrack TotalCylinders TotalHeads TotalTracks TracksPerCylinder i am aware of fdisk -l command but the information provided by... (1 Reply)
Discussion started by: omkar.jadhav
1 Replies

2. Red Hat

Warning: extended partition does not start at a cylinder boundary.

Can you please help me to remove this error. Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk... (4 Replies)
Discussion started by: karthik9358
4 Replies

3. Programming

Draw multicolor line

Hello. I need to draw many lines with multicolor (color is set by some pixmap (xpm)) on C++ with standart libs. Horizontal lines are drawing succsessfully with GC and XSetTile. But non-horizontal - no good. I rotate pixmap for all lines and then XSetTile for each line with own pixmap, but it's... (1 Reply)
Discussion started by: Yuriy
1 Replies

4. Solaris

Solaris 8 and openGL

Hi everybody, Sorry to bother you one more time, but I have a problem with my Solaris 8 installation. Actually, Solaris works well, I can start X and access my desktop (CDE), but I'm having troubles using Cadds (a CAO software). Cadds works, but the 3D visualization is very slow compare to... (4 Replies)
Discussion started by: firstpost
4 Replies

5. Solaris

Partition 0 not aligned on cylinder boundary: "

hi Guys .. user want mirror disk c3t9d0 (running ) to c2t9d0 (fresh hdd). when i tried to bash : prtvtoc /dev/rdsk/c3t9d0s2 | fmthard -s- /dev/rdsk/c2t9d0s2 it showing following error Partition 0 not aligned on cylinder boundary: " 0 4 222 ..... unable to mirror .... plz... (1 Reply)
Discussion started by: coolboys
1 Replies

6. Solaris

Increase root partition by moving starting cylinder

I am trying to expand the root partition on Solaris 10. I can expand root partition using format/partition command, but usually increasing cylinders on partition is done on back end. In this case I would have to expand from the front end following the table below, meaning I would have to move the... (12 Replies)
Discussion started by: mjaminal
12 Replies

7. What is on Your Mind?

Do you draw flowcharts

Do you draw flowcharts while you do the programming , design new network or simmilar ? (8 Replies)
Discussion started by: solaris_user
8 Replies

8. Programming

Draw a 3D cylinder using openGL.

Hi, please give me, how to code to draw 3D cylinder in openGL, that should be rotated in x-direction. waiting for your reply .. (2 Replies)
Discussion started by: Ravikishore
2 Replies

9. Ubuntu

i am new to opengl , how to work opengl in ubuntu

Hi, i am new to opengl, how to work openGL in ubuntu ,, i am not getting which packages as to be install and how to install those packages. and how to work with small programs.. Please guide me ,,, it will appriceated ... (7 Replies)
Discussion started by: Ravikishore
7 Replies

10. Solaris

Cylinder Group Size reduces in UFS.

Hi all, I am working on Solaris 8 . Its default file system is UFS. My problem is regarding to the file system. I create two partition 1) / 1.2 Gb and 2) /home 4.5 GB In root partition there were 76 Cylinder groups ,when I was traversing the Cylinder Groups I found that the length of one cylinder... (2 Replies)
Discussion started by: sundeep saini
2 Replies
Login or Register to Ask a Question
FFSINFO(8)						    BSD System Manager's Manual 						FFSINFO(8)

NAME
ffsinfo -- dump all meta information of an existing ufs file system SYNOPSIS
ffsinfo [-g cylinder_group] [-i inode] [-l level] [-o outfile] special | file DESCRIPTION
The ffsinfo utility extends the dumpfs(8) utility. The output is appended to the file outfile. Also expect the output file to be rather large. Up to 2 percent of the size of the specified file system is not uncommon. The following options are available: -g cylinder_group This restricts the dump to information about this cylinder group only. Here 0 means the first cylinder group and -1 the last one. -i inode This restricts the dump to information about this particular inode only. Here the minimum acceptable inode is 2. If this option is omitted but a cylinder group is defined then only inodes within that cylinder group are dumped. -l level The level of detail which will be dumped. This value defaults to 255 and is the ``bitwise or'' of the following table: 0x001 initial superblock 0x002 superblock copies in each cylinder group 0x004 cylinder group summary in initial cylinder group 0x008 cylinder group information 0x010 inode allocation bitmap 0x020 fragment allocation bitmap 0x040 cluster maps and summary 0x100 inode information 0x200 indirect block dump -o outfile This sets the output filename where the dump is written to, and must be specified. If - is provided, output will be sent to stdout. EXAMPLES
ffsinfo -o /var/tmp/ffsinfo -l 1023 /dev/vinum/testvol will dump /dev/vinum/testvol to /var/tmp/ffsinfo with all available information. SEE ALSO
disklabel(8), dumpfs(8), fsck(8), growfs(8), gvinum(8), newfs(8), tunefs(8) HISTORY
The ffsinfo utility first appeared in FreeBSD 4.4. AUTHORS
Christoph Herrmann <chm@FreeBSD.org> Thomas-Henning von Kamptz <tomsoft@FreeBSD.org> The GROWFS team <growfs@Tomsoft.COM> BUGS
Snapshots are handled like plain files. They should get their own level to provide for independent control of the amount of what gets dumped. It probably also makes sense to some extend to dump the snapshot as a file system. BSD
September 8, 2000 BSD