Search found 55 matches: circle

Searched query: circle

by Tennax
Sat Oct 21, 2017 20:21
Forum: Help
Topic: Drawing functions
Replies: 7
Views: 7780

Drawing functions

... Mostly I using DirectX 9 and functional I'm asking about available using it Can I use CEGUI rendering system to draw: 1) Primitives (rectangle, circle, triangle and etc.)? (DrawPrimitiveUP) 2) Pictures (with rotation, scalling, color modulation)? (ID3DXSprite) 3) Text (with shadow/border, size ...
by kane7777
Thu May 24, 2012 02:09
Forum: Help
Topic: [SOLVED] Errors rendering CEGUI on Ogre3d with waveit plugin
Replies: 9
Views: 3466

[SOLVED] Errors rendering CEGUI on Ogre3d with waveit plugin

... Particle Emitter Type 'Line' registered ParticleUniverse: Particle Emitter Type 'Box' registered ParticleUniverse: Particle Emitter Type 'Circle' registered ParticleUniverse: Particle Emitter Type 'SphereSurface' registered ParticleUniverse: Particle Emitter Type 'Vertex' registered ParticleUniverse: ...
by Ident
Sat Apr 07, 2012 09:24
Forum: Help
Topic: how to custom the shape of my widgets?
Replies: 8
Views: 5903

Re: how to custom the shape of my widgets?

so you give a "circle" as example, then i refer to that "circle" example, and you tell me in your next reply that you do not want a circle at all. Well played, son. Well played...
by Ident
Fri Apr 06, 2012 14:03
Forum: Help
Topic: how to custom the shape of my widgets?
Replies: 8
Views: 5903

Re: how to custom the shape of my widgets?

so you take a circle image for a button, and then? what's the problem? do you need hit-testing for non-rectangular shapes?

maybe this helps http://www.cegui.org.uk/wiki/index.php/ ... EGUI_0.7.x
by zydgyy
Fri Apr 06, 2012 13:56
Forum: Help
Topic: how to custom the shape of my widgets?
Replies: 8
Views: 5903

Re: how to custom the shape of my widgets?

no,what i mean ,take an example,i want circle shape button,not the rectangle
by Kulik
Sun Jan 08, 2012 17:12
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

http://www.cegui.org.uk/docs/current/cl ... f475c20da2

Texture::loadFromMemory

CEGUI 0.8 (unreleased yet) also has texture blitting.
by dragonblood
Sat Jan 07, 2012 08:16
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

saejox wrote:if you are trying to create an 32bit image (RGB and alpha) use libPng. then load created image to cegui.
creating image pixel by pixel is not cegui's job.
check http://libpng.org/pub/png/libpng.html

Ok, thanks to answer, I did'nt know there was impossible to do that in CEGUI...
by saejox
Fri Dec 30, 2011 14:43
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

if you are trying to create an 32bit image (RGB and alpha) use libPng. then load created image to cegui.
creating image pixel by pixel is not cegui's job.
check http://libpng.org/pub/png/libpng.html
by dragonblood
Fri Dec 30, 2011 13:59
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

I post here to have some help, if you know how to do that why you're not helping me instead of make fun of me. I don't expect you to write all the code for me but I ask for an exemple.
by Kulik
Thu Dec 29, 2011 19:31
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

I am sorry if this offends you but I am not sure if you are trolling or what. :?

Are you just randomly writing code that incidentally compiles and expecting it to work like you want?

Read API docs of the methods. You are doing something completely different from what you want to be doing.
by dragonblood
Wed Dec 28, 2011 18:47
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

I try this code just to test but nothing happen // I send my Ogre::Texture to CEGUI::Texture CEGUI::Texture &ceguiTexture = CEGUI::OgreRenderer::create().createTexture(pTexture); // I create Imageset and image CEGUI::Imageset &imageSet = CEGUI::ImagesetManager::getSingleton().create(mName+&q...
by Kulik
Tue Dec 27, 2011 21:48
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

Make a buffer, put the colours there, load that into CEGUI::Image, boom!

I am really confused what the problem is. Are you expecting me to write the code for you?
by dragonblood
Tue Dec 27, 2011 21:13
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

Yes I know the concept of alpha transparency but I don't know how to add transparency to a CEGUI::Image. If you know you could tell me ?
by Kulik
Tue Dec 27, 2011 21:05
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

I don't understand what's your problem really.

Do you know the concept of alpha transparency?
by dragonblood
Tue Dec 27, 2011 20:43
Forum: Help
Topic: I want to make circle Image
Replies: 13
Views: 13718

Re: I want to make circle Image

Hi, Your best option is to still use alpha-transparency to manually clip (shape) your imagery "by dynamically adding alpha-transparent pixels to the image either during creation or in post-processing. it should be a fairly trivial step from there to add alpha-transparency to it." Ok this i...

Go to advanced search